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

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

Update readme to configure TCP keep alive when updating MQTT keep alive time #1896

Closed tony-josi-aws closed 1 year ago

tony-josi-aws commented 1 year ago

While updating the MQTT keep alive time beyond certain value which is above the TCP keep alive time the underlying TCP connection is assumed dead depending on the cofiguration and this causes the device disconnection to go undetected.

This PR updates the readme with instructions to configure TCP keep alive when updating MQTT keep alive time.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.