adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
573 stars 291 forks source link

No reconnection #75

Open spa-sam opened 7 years ago

spa-sam commented 7 years ago

If there is a failure or to perform a manual reset on the sim800 pin reset, the module is not reconnected, and enters an infinite loop...

Connection failed ---> AT+CIPSTATUS <--- AT+CIPSTATUS ---> AT+CIPCLOSE <--- AT+CIPCLOSE ---> AT+CIPSHUT <--- AT+CIPSHUT Connection failed ---> AT+CIPSTATUS <--- AT+CIPSTATUS ---> AT+CIPCLOSE <--- AT+CIPCLOSE ---> AT+CIPSHUT <--- AT+CIPSHUT .............

Watchdog is enabled, but the restart is not happening in this cycle. Elsewhere delay reset works fine.