IoT Gateway (IOT)
As used by RockREMOTE (IoT Gateway).
Structure
topic
- MQTT Topic name Message was published to (i.e.site01/asset32/sensor64
)message
- Payload of the Message that was publishedretain
- If the Client indicated the message should be Retained - default falsecompressed
- If this Message was compressed before transmissioncompression
- How effective the compression was; e.g. 0.23 = 23% compressionsize
- Size of the Message as transmitted
Messages
MO
{
"topic": "message/from/device",
"message": "SGVsbG8gV29ybGQ=",
"retain": false,
"compressed": true,
"compression": 0.5,
"size": 11
}
MT
{
"topic": "message/to/device",
"message": "SGVsbG8h",
"retain": false
}