mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Reboot functionality added
This commit is contained in:
parent
af6fa9fe29
commit
b84d1b97c6
5 changed files with 54 additions and 0 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue