mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:33:30 +02:00
Reboot functionality added
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user