1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 12:00:08 +02:00

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

@ -358,6 +358,16 @@ module.exports = function(options) {
)
])
})
.on('sd.status', function(channel, responseChannel) {
joinChannel(responseChannel)
push.send([
channel
, wireutil.transaction(
responseChannel
, new wire.SdStatusMessage()
)
])
})
.on('ringer.set', function(channel, responseChannel, data) {
joinChannel(responseChannel)
push.send([