We recently updated our codebase from a very early version of the AWS IoT library to the LTS version. As such, we are using the MQTT shim V2.3.1 and FreeRTOS Shadow V2.2.3.
It appears we are now having problems with our LWT. It seems to errantly fire. Investigating, it appears “keepAliveSeconds” is set to “keepAliveIntervalSec”, but never really used. This is because there is nothing invoking a call to “handleKeepAlive()” because “MQTT_ProcessLoop” is never called.
Is this true? The LWT is a pretty ‘core’ part of the mqtt spec, does coreMQTT not support it? If so, would you suggest us going back to the prior AWS library which supports this until the new library has production-level support for MQTT?