f5ae4b5b880431ef1bcd72f343de9ac6">mqtt_reinit</a> the client, and (4) reconfigure the MQTT session by calling <a class="el" href="group__api.html#gadbe914e5a9d4f93314c4e7637cb4f7b3">mqtt_connect</a> followed by other API calls such as <a class="el" href="group__api.html#gaea5da9b546f6e91eb77c9eff9c478de5">mqtt_subscribe</a>.</p>
<p>The first argument to the <code>reconnect_callback</code> is the client (which will be in an error state) and the second argument is a pointer to a void pointer where you can sto