martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.79k stars 905 forks source link

Disconnection on MQTT after long-time running #102

Open gustavovelascoh opened 6 years ago

gustavovelascoh commented 6 years ago

After running for about 30 days I had disconnection of MQTT client from various repeaters (but not all). Is there any option to retry connection to MQTT broker without resetting the device?

martin-ger commented 6 years ago

I am using tuanmpt's MQTT client lib here https://github.com/tuanpmt/esp_mqtt. It has an automatic reconnect. This seems to fail here.

Any chance to compile it with MQTT_DEBUG_ON in mqtt/include/debug.h ? This would print some infos on the MQTT actions...