Commit ba36cb3d authored by Frank Exoo's avatar Frank Exoo Committed by Marcel Stör
Browse files

MQTT re-connect issue (#2256)

Fix to start sending PINGREQ after a reconnect.
parent 2a944026
......@@ -337,6 +337,7 @@ READPACKET:
} else {
mud->connState = MQTT_DATA;
NODE_DBG("MQTT: Connected\r\n");
mud->keepalive_sent = 0;
if (mud->mqtt_state.auto_reconnect == RECONNECT_POSSIBLE) {
mud->mqtt_state.auto_reconnect = RECONNECT_ON;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment