Go to file
Brent Rubell 3a319ab695
Merge pull request #195 from rgorosito/fix-loss-subscriptions
Fix: Subscriptions can't be read if arrive when waiting for response of ping or publish
2021-06-22 13:29:11 -04:00
.github Moved to actions, no doxygen 2020-06-25 09:56:46 -04:00
examples add .skip files for 8266/zero, this is an esp32 example! 2021-05-12 17:33:16 -04:00
.gitignore Ignore all bit torrent sync files 2016-01-31 20:13:48 -06:00
Adafruit_MQTT_Client.cpp Addressing comments from PR #193 with merge from PR#166. Clang-format, version ticked to 2.3.0, replaced duplicate topicOffsetFromLength with packetAdditionalLen. 2021-05-14 08:09:07 -07:00
Adafruit_MQTT_Client.h Corrected client public/private methods. 2020-07-03 10:43:51 -07:00
Adafruit_MQTT_FONA.h Corrected client public/private methods. 2020-07-03 10:43:51 -07:00
Adafruit_MQTT.cpp more c formatting fixing 2021-05-25 13:23:51 -03:00
Adafruit_MQTT.h stop loosing messages 2021-05-23 15:52:35 -03:00
keywords.txt remove CC3000 from keywords.txt (#145) 2019-02-19 16:56:07 -05:00
library.properties settable keepalive interval 2021-05-18 16:41:26 -04:00
LICENSE Cleanup and prepare for publishing. 2015-06-10 15:38:34 -07:00
README.md Moved to actions, no doxygen 2020-06-25 09:56:46 -04:00

Adafruit MQTT Library Build Status

Arduino library for MQTT support, including access to Adafruit IO. Works with the Adafruit 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:

Future todos:

  • Subscription callbacks

  • remove watchdog

Compatibility

MCU Tested Works Doesn't Work Not Tested Notes
Atmega328 @ 16MHz X
Atmega328 @ 12MHz X
Atmega32u4 @ 16MHz X
Atmega32u4 @ 8MHz X
ESP8266 X
Atmega2560 @ 16MHz X
ATSAM3X8E X
ATSAM21D X
ATSAMD51J20 X
ATtiny85 @ 16MHz X
ATtiny85 @ 8MHz X
Intel Curie @ 32MHz X
STM32F2 X
  • ATmega328 @ 16MHz : Arduino UNO, Adafruit Pro Trinket 5V, Adafruit Metro 328, Adafruit Metro Mini
  • ATmega328 @ 12MHz : Adafruit Pro Trinket 3V
  • ATmega32u4 @ 16MHz : Arduino Leonardo, Arduino Micro, Arduino Yun, Teensy 2.0
  • ATmega32u4 @ 8MHz : Adafruit Flora, Bluefruit Micro
  • ESP8266 : Adafruit Huzzah
  • ATmega2560 @ 16MHz : Arduino Mega
  • ATSAM3X8E : Arduino Due
  • ATSAM21D : Arduino Zero, M0 Pro
  • ATSAMD51J20: Adafruit PyPortal
  • ATtiny85 @ 16MHz : Adafruit Trinket 5V
  • ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V