I am using esp-aws-iot sdk and my esp-idf version is v4.3. I am facing a issue that when there is no internet for a prolonged period of time my mqtt connection is broken and when I try to connect it manually it gives me this error
Code: Select all
NETWORK_RECONNECT_TIMED_OUT_ERROR
Code: Select all
auto_reconnect
What do I need to do?
Should I destroy the connection and make another connection?
Or there is another way
Any help suggestion would be helpful
Thank you!