mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Reboot functionality added
This commit is contained in:
parent
af6fa9fe29
commit
b84d1b97c6
5 changed files with 54 additions and 0 deletions
|
@ -148,6 +148,10 @@ module.exports = function ControlServiceFactory(
|
|||
})
|
||||
}
|
||||
|
||||
this.reboot = function() {
|
||||
return sendTwoWay('device.reboot')
|
||||
}
|
||||
|
||||
this.rotate = function(rotation) {
|
||||
return sendOneWay('display.rotate', {
|
||||
rotation: rotation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue