mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 22:05:21 +02:00
Implement get SD card status (if it's mounted or not).
This commit is contained in:
@@ -233,6 +233,10 @@ module.exports = function ControlServiceFactory(
|
||||
})
|
||||
}
|
||||
|
||||
this.getSdStatus = function() {
|
||||
return sendTwoWay('sd.status')
|
||||
}
|
||||
|
||||
this.setRingerMode = function(mode) {
|
||||
return sendTwoWay('ringer.set', {
|
||||
mode: mode
|
||||
|
||||
Reference in New Issue
Block a user