1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Reboot functionality added

This commit is contained in:
Valverde Antonio 2014-06-19 19:29:59 +09:00
parent af6fa9fe29
commit b84d1b97c6
5 changed files with 54 additions and 0 deletions

View file

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