The SystemDevice management system has three main components:
Backend: sends dm commands and analyses the responses
Targets: objects to be managed. Objects may contain several resources that are managed
The Treon Industrial Node 6 measures vibration and temperature on a machine. The behavior of the sensor can be modified by device management commands using Treon JSON DM messages. <!— add link when available —>
How to Form DM Commands Example of a DM command:
{"Ver": "2", "Val": ["AQA="], "I": 1, "Res": [1026], "Cmd": "set", "Nid": "BROADCAST", "T": [33507, 1]}
Version Field The Version field “Ver” defines which version of the JSON specification to use.
The Treon Industrial Node measures vibration and temperature of the machine it is attached to. The behavior of the sensor can be modified by device management commands using Treon JSON DM messages.
Command Message The backend sends device management commands as JSON serialized messages over MQTT.
{ "Ver": "<version>", "Type": "dm", "Cmd": "<command>", "I": "<index>", "T": "<target>", "Res": "<resource array>", "Val": "<value array>", "Nid" : "<node id>", "Gid" : "<group id>" }