sconnected callback, which is invoked when the MQTT server sends a disconnect packet. This server behaviour is allowed in MQTT 5.0, but not in MQTT 3.1.1, so the disconnected callback will never be invoked if you use MQTT 3.1.1.</p>
<p>In particular, you must not make a publish call within the message arrived callback. These restrictions are all lifted in the <a href="../../MQTTAsync/html/index.html">MQTTAsync API</a>.</p>
<p>If no callbacks are assigned, this will include the message arrived callback. This