STM32U5 Rust and AWS IoT Core: From Per-Message TLS Connections to a Persistent Session

The revised implementation of the publish_aws_iot_payload() function establishes a persistent MQTT connection over TLS, enabling ongoing telemetry message transmission without repeated handshake processes. By keeping the connection alive and sending PINGREQs as needed, the firmware enhances efficiency and reliability, with successful communications verified on the STM32U5 board.

STM32U5 Rust: Establishing MQTT over Mutual TLS with AWS IoT Core

This project focused on integrating AWS IoT Core with the B-U585I-IOT02A board. Initial tests validated sensor data transmission over TLS using an Ubuntu client before transitioning to STM32. Successful telemetry publishing was achieved with the implementation of mutual TLS, ensuring secure MQTT communication with AWS IoT Core. Future improvements will enhance connection persistence.