mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Implement set Wifi on/off.
This commit is contained in:
@@ -228,6 +228,12 @@ module.exports = function ControlServiceFactory(
|
||||
})
|
||||
}
|
||||
|
||||
this.setWifiEnabled = function(enabled) {
|
||||
return sendTwoWay('wifi.set', {
|
||||
enabled: enabled
|
||||
})
|
||||
}
|
||||
|
||||
window.cc = this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user