3a1bef8318
This was already the case for the Adafruit_MQTT_Publish constructor, so this makes things a bit more consistent when using the publish() method directly. |
||
---|---|---|
examples | ||
.travis.yml | ||
Adafruit_MQTT_CC3000.h | ||
Adafruit_MQTT_Client.cpp | ||
Adafruit_MQTT_Client.h | ||
Adafruit_MQTT_FONA.h | ||
Adafruit_MQTT.cpp | ||
Adafruit_MQTT.h | ||
library.properties | ||
LICENSE | ||
README.md |
Adafruit MQTT Library
Arduino library for MQTT support, including access to Adafruit IO. Works with the Adafruit CC3000, FONA, ESP8266 Arduino platforms, and anything that supports Arduino's Client interface (like Ethernet shield).
See included examples for how to use the library to access an MQTT service to publish and subscribe to feeds. Note that this does not support the full MQTT spec but is intended to support enough for QoS 0 and 1 publishing.
Depends on the following other libraries depending on the target platform:
-
Adafruit SleepyDog, watchdog library used by FONA and CC3000 code for reliability.
-
Adafruit CC3000, required for the CC3000 hardware.
-
Adafruit FONA, required for the FONA hardware.
Future todos:
-
QoS > 0 for publication
-
Subscription callbacks
-
example with way more timeout/reconnection protection
-
Wills
-
remove watchdog