The Paho C++ client library samples folder has examples of using autoreconnect:
set_automatic_reconnect(true);
I wonder if that could be exposed in the MQTT dat, perhaps as a toggle button.?
The Paho C++ client library samples folder has examples of using autoreconnect:
set_automatic_reconnect(true);
I wonder if that could be exposed in the MQTT dat, perhaps as a toggle button.?
+1
+1 !
+1
Autoreconnect would be great. Also if the reconnection could not hang the whole process