mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Implement set Wifi on/off.
This commit is contained in:
parent
9a31fbbfca
commit
6f7fdffe3d
9 changed files with 81 additions and 1 deletions
|
@ -228,6 +228,12 @@ module.exports = function ControlServiceFactory(
|
|||
})
|
||||
}
|
||||
|
||||
this.setWifiEnabled = function(enabled) {
|
||||
return sendTwoWay('wifi.set', {
|
||||
enabled: enabled
|
||||
})
|
||||
}
|
||||
|
||||
window.cc = this
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue