elementzonline / SIM800_MQTT

Visit our blog/website for more information
http://www.elementzonline.com
GNU General Public License v3.0
170 stars 96 forks source link

Problem with autoconnect #27

Closed marsaldia closed 4 years ago

marsaldia commented 6 years ago

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.

marcosdepo commented 4 years ago

I have the same problem, after several hours or days, conection fails but don't reconect. Have you got any solution? Thanks.