You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how can I monitor the AWS connection status in AWS_IOT library? #4
and Add the definition of this function in AWS_IOT.h as below
bool isConnected();
You can use the awsObj.isConnected() to get the current status of Connection.
When you call to the function aws_iot_mqtt_is_client_connected(&client); check the last saved state in the class AWS_IoT_Client but doesnt check or update the real state of connection, right?
Activity
muneebmalik78 commentedon Mar 27, 2019
Hi,
I did this by editing two files in the Library named as AWS_IOT.cpp and AWS_IOT.h
Just Add this Piece of code in AWS_IOT.cpp
and Add the definition of this function in AWS_IOT.h as below
bool isConnected();You can use the
awsObj.isConnected()to get the current status of Connection.Luisiado commentedon Nov 5, 2019
When you call to the function aws_iot_mqtt_is_client_connected(&client); check the last saved state in the class AWS_IoT_Client but doesnt check or update the real state of connection, right?