Daniel kalu
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 10/18/2024 in #edge-networking
Optimizing MQTT Stability on ESP32 with Keep-Alive Tuning or Reconnection Strategy
Hey guys in my previous work with MQTT on ESP32, I've faced challenges like frequent disconnections in unstable networks and inconsistent message delivery despite adjusting QoS levels and retry settings. l've tried different keep-alive intervals but still experience data loss during network drops.
Should I prioritize fine-tuning the keep-alive interval to maintain a stable connection, or would implementing a more robust reconnection strategy be a better approach?
3 replies