How to determine the status of AWS IOT mqtt connection
Posted: Wed Apr 21, 2021 12:12 pm
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?
Is there a method to call that will provide the status of the mqtt connection?