Skip to main content

Connection and Disconnection

A device is not required to publish any additional connection or disconnection messages, the MQTT broker will automatically keep track of these events and relay them to Data Orchestrator. When connecting, before publishing any data message, a device should check MQTT session present flag. When the MQTT session present flag is true no further actions are required, when false the device should take following actions:

  • Publish its introspection
  • Publish an empty cache message
  • Publish all of its existing and set properties on all its property interfaces

If a device is unable to inspect session present all previous actions must be taken at every reconnection.