57885554f9
It took more than a couple minutes to get some sample code going with ethernet, so I figured it would benefit everyone if there was at least one example out there. |
||
---|---|---|
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, Arduino Yun, 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