Go to file
Matthijs Kooijman 22c3533745 Fix type of Adafruit_MQTT_Subscribe::lastread
The lastread array stores the data bytes of the most recently read
received packet. It was previously declared as an array of pointers to
uint8_t, instead of an array of uint8_t, which obviously was not the
intention. Because the examples explicitely cast to (char*) for printing
(because Print::println(uint8_t[]) is not defined) and a pointer is at
least as big as uint8_t and memcpy uses void*, this problem did not show
up before.
2015-08-02 11:49:34 +02:00
examples Add parenthesis to fix compiler warning 2015-07-27 20:32:38 +02:00
.travis.yml simplify travis config with new helper functions 2015-07-27 14:04:58 -04:00
Adafruit_MQTT.cpp Comment out stringprint(), it is not used 2015-07-27 20:32:38 +02:00
Adafruit_MQTT.h Fix type of Adafruit_MQTT_Subscribe::lastread 2015-08-02 11:49:34 +02:00
Adafruit_MQTT_CC3000.h Add connected() function to MQTT class. Update examples with robust reconnect logic. 2015-07-05 14:29:13 -07:00
Adafruit_MQTT_Client.cpp Add connected() function to MQTT class. Update examples with robust reconnect logic. 2015-07-05 14:29:13 -07:00
Adafruit_MQTT_Client.h Add connected() function to MQTT class. Update examples with robust reconnect logic. 2015-07-05 14:29:13 -07:00
Adafruit_MQTT_FONA.h Add connected() function to MQTT class. Update examples with robust reconnect logic. 2015-07-05 14:29:13 -07:00
LICENSE Cleanup and prepare for publishing. 2015-06-10 15:38:34 -07:00
README.md adds travis icon to readme 2015-07-15 12:09:51 -04:00
library.properties Merge connected branch, bump to version 0.9.3 2015-07-14 15:54:04 -07:00

README.md

Adafruit MQTT Library Build Status

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:

Future todos:

  • QoS > 0 for publication

  • Subscription callbacks

  • example with way more timeout/reconnection protection

  • Wills

  • remove watchdog