mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Add provider to device data.
This commit is contained in:
parent
389db73f08
commit
6ab252857f
6 changed files with 29 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue