In some random cases, I see that the connection is closed, but the MQTT.TCP_Flag is still True and the mqtt.available is true. I think that for this reason, the auto-connect function is not called again until the arduino is manually restarted.
As I tell I do not know exactly when it is happen, but if someone likes to reproduce the error, it is possible to reproduce the error cutting off the power of the SIM900 and turn it on again.
Hello!
In some random cases, I see that the connection is closed, but the MQTT.TCP_Flag is still True and the mqtt.available is true. I think that for this reason, the auto-connect function is not called again until the arduino is manually restarted.
As I tell I do not know exactly when it is happen, but if someone likes to reproduce the error, it is possible to reproduce the error cutting off the power of the SIM900 and turn it on again.
Any help is really appreciated.