|
The Xentara MQTT client v2.2
User Manual
|
A JSON object describing an MQTT command has the following syntax:
| name | A string value containing the name of the command. The name is used to construct the command’s primary key. | ||||||
| UUID | A string value containing the unique UUID of the command. | ||||||
| ACL | An optional JSON object containing the element ACL of the command. The format of the object is described under JSON Format for ACLs in the Xentara user manual. | ||||||
| topic | A string value containing the topic to subscribe to. See 3.3.2.1 Topic Name in the MQTT specification for details. | ||||||
| payload | A JSON array containing the data points to write when a message is received. Each array element is a JSON object containing information about a single data point. The objects are double nested JSON objects. The outer object has a single member whose name is "@DataPoint", and whose value is another JSON object that contains the actual configuration of the data point. The inner object has the following members:
|