Search code examples
gsmtls1.2stm32f4azure-iot-sdkwolfssl

Azure IoT SDK for C with WolfSSL and STM32


I am trying to port Azure IoT SDKs for C to STM32 controller. I am using wolfSSL library for TLS version 1.2 and I am able to build the code successfully in OpenSTM32 environment.

But, after establishing successful connection with Azure server, I am unable to establish TLS handshake with the server. I am using OpenSTM32’s example user_settings.h file from wolfSSL library to build wolfSSL library.

Do I need to make any additional changes in the WolfSSL library to use it with Azure?

OR

Is there any other TLS library, which can be used with Azure IoT SDK for C and STM32 controller?


Solution

  • I have managed to get it working.

    There were issues with the buffer sizes and server timeouts.

    Increasing the buffer size and optimizing the sending logic solved the issue.

    Now, I am able to access every functionality of Azure IoT SDK for C !