MQTT Library for Arduino

  • Hi,

    I have been looking around for a MQTT library for Arduino to use on the m5stack.

    I have stumbled upon the PubSubClient, and tried an example for SimpleMQTT via the ESP32 Examples on Arduino.

    Unfortunately, I do not have any knowledge on using AzureIoTHub and I am not sure what I need to configure the SimpleMQTT example.

    Is there a more simplified version of the MQTT library that's compatible with the m5stack? If not, is anyone able to advise me on how to set up the use of AzureIoTHub via the "SimpleMQTT" example?