Implement get SD card status (if it's mounted or not).

This commit is contained in:
Valverde Antonio
2014-07-23 14:03:32 +09:00
parent 2c5a2de17c
commit dab1ab9bd9
9 changed files with 77 additions and 1 deletions

View File

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