Go to file
Matthijs Kooijman 22b77ecb68 Add Adafruit_MQTT_Subscribe::datalen
This stores the number of valid bytes in lastread. Having access to this
information allows transmitting binary data as well, containing embedded
nul bytes.
2015-08-02 11:51:43 +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_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
Adafruit_MQTT.cpp Add Adafruit_MQTT_Subscribe::datalen 2015-08-02 11:51:43 +02:00
Adafruit_MQTT.h Add Adafruit_MQTT_Subscribe::datalen 2015-08-02 11:51:43 +02:00
library.properties Merge connected branch, bump to version 0.9.3 2015-07-14 15:54:04 -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

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