User Manual
AdafruitMQTT
The Adafruit WICED Feather API includes an internal MQTT client that allows you perform basic MQTT operations
directly with any MQTT broker.
AdafruitMQTT inherits from AdafruitTCP and also has access to all of the functions defined in the parent class.
Note: You are also free to use an external Client (https://adafru.it/lFj) based MQTT library (for example
Adafruit_MQTT_Library (https://adafru.it/fp6)) if you prefer or need something fully under your control. AdafruitMQTT is
provided for convenience sake, and to avoid external dependencies, but isn't the only option at your disposal.
Constructors
Some MQTT brokers require a username and password to connect. If necessary, the two values should be provided in
the constructor when declaring an instance of AdafruitMQTT.
If no username and password are required, simply use the default empty constructor.
Functions
AdafruitMQTT()
AdafruitMQTT(const char* username, const char* password)
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 109 of 202










