Hi,

I am trying to connect to Azure IoT Hub from my Arduino using the SIM800 GSM/GPRS module using MQTT to no avail.

Currently I am using the Adafruit's FONA800 module with my Arduino.

There is an Arduino library for the FONA800 (SIM800) called Adafruit Fona library which simplifies all AT commands with the module. It implements both TCP and HTTP.

There is also an Arduino library for MQTT using FONA800, which is called Adafrui MQTT Fona, which implements MQTT, and this library can be used to connect to Adafruit IoT server. But unfortunately, Adafruit IoT server doesn't require TLS while Azure IoT Hub does.

I am clueless as how to incorporate WolfMQTT/WolfSSL into the library so that my SIM800 can connect to Azure.

Is there any sample Arduino code for this?
Or I would really appreciate it if someone could point me in the right direction to make it work.

Thank you in advance!
Dave