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

Implement set Wifi on/off.

This commit is contained in:
Valverde Antonio 2014-06-27 15:57:32 +09:00
parent df170073ac
commit 9a07c1bb77
8 changed files with 80 additions and 0 deletions

View file

@ -228,6 +228,12 @@ module.exports = function ControlServiceFactory(
})
}
this.setWifiEnabled = function(enabled) {
return sendTwoWay('wifi.set', {
enabled: enabled
})
}
window.cc = this
}