Go to file
Matthijs Kooijman 5d101b8a7b Allow passing __FlashStringHelper* in addition to char* everywhere
Arduino supplies the F() macro that allows easily putting strings in
PROGMEM and marking them with a custom type. Essentially,
a __FlashStringHelper* is just the same char*, but cast to a different
type, which allows for example Serial.print() to automatically handle
both PROGMEM and normal strings.

By letting this library accept __FlashStringHelper* as well, you can
use easily use the F() macro and reduce the chance of mixing up normal
and PROGMEM pointers.
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.cpp Allow passing __FlashStringHelper* in addition to char* everywhere 2015-08-02 11:51:43 +02:00
Adafruit_MQTT.h Allow passing __FlashStringHelper* in addition to char* everywhere 2015-08-02 11:51:43 +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