mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Add provider to device data.
This commit is contained in:
@@ -111,10 +111,11 @@ module.exports = function(wire) {
|
||||
|
||||
return wireutil.envelope(wire.MessageType.DEVICE_PROPERTIES, message)
|
||||
}
|
||||
, makeDeviceStatusMessage: function(serial, type) {
|
||||
, makeDeviceStatusMessage: function(serial, type, provider) {
|
||||
var message = new wire.DeviceStatusMessage(
|
||||
serial
|
||||
, wireutil.toDeviceStatus(type)
|
||||
, provider
|
||||
)
|
||||
|
||||
return wireutil.envelope(wire.MessageType.DEVICE_STATUS, message)
|
||||
|
||||
Reference in New Issue
Block a user