Closed moookpn closed 1 year ago
Hello @guowusheng,
Thank you for reaching out to us.
If I understand correctly, when your device is disconnected from the broker the code fails to call the callback (aws_iot_disconnect_handler
highlighted above). Is that accurate?
Also, may I ask which platform are you using? Also, have you tried stepping through the code to see what happens during a disconnect?
Thanks, Aniruddha
Closing for 7 days inactivity, please reopen when more information are available
Currently, a problem has been found: sometimes when the connection with the cloud platform is disconnected, the sdk will not call back the disconnected state