Using espidf v4.2 with the embedded aws-iot-sdk. Occasionally I get an error in the yield loop that causes the mqtt connection to get dropped but the disconnect handler does not get called. So now, I simply print out the error and call yield again which returns OK.
Is there a method to call that will provide the status of the mqtt connection?
How to determine the status of AWS IOT mqtt connection
Re: How to determine the status of AWS IOT mqtt connection
to answer my own question and not sure why I couldn't find this before...
method: bool aws_iot_mqtt_is_client_connected (AWS_IoT_Client *pClient) documented at http://aws-iot-device-sdk-embedded-c-do ... 3739e3d744
method: bool aws_iot_mqtt_is_client_connected (AWS_IoT_Client *pClient) documented at http://aws-iot-device-sdk-embedded-c-do ... 3739e3d744
Who is online
Users browsing this forum: No registered users and 110 guests