mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Merge DeviceIdentityMessage on the app side.
This commit is contained in:
parent
2086d7d439
commit
eb332ff36a
4 changed files with 10 additions and 2 deletions
|
@ -60,8 +60,9 @@ module.exports = function(options) {
|
|||
devDealer.send([message.channel, wireutil.makeProbeMessage()])
|
||||
})
|
||||
})
|
||||
.on(wire.DeviceIdentityMessage, function(channel, message) {
|
||||
.on(wire.DeviceIdentityMessage, function(channel, message, data) {
|
||||
dbapi.saveDeviceIdentity(message.serial, message)
|
||||
appDealer.send([channel, data])
|
||||
})
|
||||
.on(wire.ShellCommandDataMessage, function(channel, message, data) {
|
||||
appDealer.send([channel, data])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue