1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +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

@ -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