Skip to content

Commit

Permalink
Review comment changes for checkMqttConnStatus description
Browse files Browse the repository at this point in the history
  • Loading branch information
guruchandru committed Oct 10, 2023
1 parent e26f37c commit 003f85d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/webcfg_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void* WebconfigMqttTask(void *status)
return NULL;
}

mqttBackOffRetry();
checkMqttConnStatus();

WebcfgInfo("MQTTCM broker is connected, proceed to subscribe\n");

Expand Down Expand Up @@ -190,7 +190,8 @@ int getMqttCMConnStatus()
return ret;
}

void mqttBackOffRetry()
//This function checks the mqtt connection status and if it is "down" it will wait in back off retry
void checkMqttConnStatus()
{
int connStatus = 0;
int backoffRetryTime = 0;
Expand Down

0 comments on commit 003f85d

Please sign in to comment.