mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Merge DeviceIdentityMessage on the app side.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user