
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div><div class="header">
  <div class="headertitle"><div class="title">Callbacks </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>You must not call a function from this API from within a callback otherwise a deadlock might result. The only exception to this is the ability to call connect within the connection lost callback, to allow a reconnect.</p>
<p>When using MQTT 5.0, you can also call connect from within the di