Implement get Wifi status.

This commit is contained in:
Valverde Antonio
2014-06-30 19:13:28 +09:00
parent 98148cdc7f
commit d9281bb30a
8 changed files with 64 additions and 4 deletions

View File

@@ -351,6 +351,16 @@ module.exports = function(options) {
)
])
})
.on('wifi.get', function(channel, responseChannel) {
joinChannel(responseChannel)
push.send([
channel
, wireutil.transaction(
responseChannel
, new wire.WifiGetStatusMessage()
)
])
})
.on('group.invite', function(channel, responseChannel, data) {
joinChannel(responseChannel)
push.send([