Arduino Azure IoT MQTT library : which one ?

aschmitt
Posts: 2
Joined: Fri Jun 22, 2018 5:02 pm

Arduino Azure IoT MQTT library : which one ?

Postby aschmitt » Wed Feb 24, 2021 5:33 pm

Hello,

I am using the Arduino IDE MQTT Azure IoT library that is included in the esp32 board manager for Arduino (https://dl.espressif.com/dl/package_esp ... .json</URL>), that is located at ~/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/AzureIoT/

This library has flaws, especially :
- intermittent errors and crashes especially when closing/reinitializing the MQTT Client, and/or when the wifi connection breaks
- high RAM usage (around 50Kb)

I discovered several other such Arduino IDE MQTT Azure IoT libraries, namely :
- https://github.com/Azure/azure-iot-arduino and https://github.com/Azure/azure-iot-ardu ... tocol-mqtt, which seem to be provided by Microsoft directly, but with little documentation
- https://github.com/andriyadi/AzureIoTLiteClient, which claims to be lightweight, but is maintained by a single developer.

Before trying to port my implementation on these libraries, I was wondering if the community had some feedback on those, or advices on best practices with these MQTT/Azure matters.

Thank you very much

Who is online

Users browsing this forum: No registered users and 42 guests