enhanced Aliot MQTT connection full through

This commit is contained in:
strawmanbobi
2022-02-27 20:01:08 +08:00
parent 0e4d73de5f
commit b020ec47e3
6 changed files with 66 additions and 22 deletions

View File

@@ -68,6 +68,7 @@ void checkAlinkMQTT() {
iot_retry = 0;
sendIrisKitHeartBeat();
} else {
INFOF("Alink MQTT check failed, retry = %d\n", iot_retry);
iot_retry++;
}
if (iot_retry >= IOT_RETRY_MAX) {