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:
parent
2c5a2de17c
commit
dab1ab9bd9
9 changed files with 77 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue