Skip to main content

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 published
  • retain - If the Client indicated the message should be Retained - default false
  • compressed - If this Message was compressed before transmission
  • compression - How effective the compression was; e.g. 0.23 = 23% compression
  • size - 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
}