aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
978 stars 625 forks source link

aws_iot_mqtt_attempt_reconnect() only fails for subsribe after 2nd reconnection. #1795

Closed taka-shirasu closed 1 year ago

taka-shirasu commented 2 years ago

I use the manual reconnect for the MQTT service when the Wi-Fi gets reconnected. I noticed that "subscribe" will stop working after the 2nd reconnection onwards but this is not the case for "publish" and also for the 2nd reconnection. Is this a feature on the AWS IoT Core side or a bug on the AWS SDK kit?

taka-shirasu commented 2 years ago

https://docs.google.com/document/d/1PfqNQNrrz0z_zbLjRPhGYh1IT4QjtDhEzknMuQX_UGg/edit?usp=sharing Here are some screenshots.

jasonpcarroll commented 2 years ago

Hi @taka-shirasu, Thank you for reaching out. Could you let me know what version/commit ID you are using? Best, Jason

chinglee-iot commented 1 year ago

Close this issue first. Please re-open this issue if information updated.