Hi friends,
I'm having problems to keep a connection from an Arduino to a MQTT server. I'm using the PubSubClient.h library to connect and the Timer.h one to restart the Arduino every 4 hours and so reconnect to server. Even restarting the Arduino, after some time it stops receiving the messages from the MQTT server. It looks that the Arduino lost the connection or some exception stops the process.
Has anyone already got this problem or any similar one when using MQTT?
Thanks,