renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 82 forks source link

AWS FreeRTOS coreMQTT v2.x Migration #322

Closed GodavarthyAravinda closed 5 months ago

GodavarthyAravinda commented 8 months ago

Issue

FSP has moved to using FreeRTOS 202210 LTS. This has resulted in the coreMQTT library being upgraded from v1.2.0 to v2.x. The coreMQTT library has breaking changes that users must handle. With coreMQTT updated to v2.x, the MQTT_SEND_RETRY_TIMEOUT_MS was replaced with MQTT_SEND_TIMEOUT_MS, and the default value was increased from 10ms to 20000ms. At 10ms, WiFi/Cellular stacks may not function properly.

Workaround

Read and follow the "coreMQTT version >=v2.0.0 Migration Guide".