2025-01-03 05:14 AM - edited 2025-01-04 03:43 AM
Dear Community,
I am working with an STM32F407 development board, using an ESP32 as a Wi-Fi modem controlled through AT commands. I am attempting to perform an MQTT test with AWS IoT using mbedTLS for the TLS handshake.
I found the following mbedTLS implementation for STM32:
https://github.com/eziya/STM32F4_HAL_ETH_MBEDTLS.
Currently, I am observing that the mbedTLS handshake takes nearly 25 seconds. Can anyone share how much time the mbedTLS handshake typically takes with a server using this implementation or similar setups?
Additionally, I am currently stuck on configuring mbedTLS. Could anyone guide me on the minimal and fastest way to establish a TLS handshake with an AWS server? Any suggestions to optimize the process for MQTT communication would be highly appreciated.
Thank you in advance for your assistance.