Adafruit_MQTT_Library/README.md

58 lines
2.6 KiB
Markdown
Raw Normal View History

2020-06-25 15:56:46 +02:00
# Adafruit MQTT Library [![Build Status](https://github.com/adafruit/Adafruit_MQTT_Library/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit_MQTT_Library/actions)
2015-06-11 00:38:34 +02:00
Arduino library for MQTT support, including access to Adafruit IO. Works with
2017-08-10 16:27:05 +02:00
the Adafruit FONA, Arduino Yun, ESP8266 Arduino platforms, and anything that supports
2015-06-11 00:38:34 +02:00
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:
2015-07-15 18:08:44 +02:00
- [Adafruit SleepyDog](https://github.com/adafruit/Adafruit_SleepyDog), watchdog
2017-08-10 16:27:05 +02:00
library used by FONA code for reliability.
2015-06-11 00:38:34 +02:00
- [Adafruit FONA](https://github.com/adafruit/Adafruit_FONA_Library), required for
the FONA hardware.
Future todos:
- Subscription callbacks
- remove watchdog
2016-04-12 20:50:13 +02:00
<!-- START COMPATIBILITY TABLE -->
## 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 |
2016-04-12 20:50:13 +02:00
ATtiny85 @ 16MHz | | | X |
ATtiny85 @ 8MHz | | | X |
Intel Curie @ 32MHz | | | X |
2016-04-12 20:50:13 +02:00
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
2016-04-12 20:50:13 +02:00
* ATtiny85 @ 16MHz : Adafruit Trinket 5V
* ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V
<!-- END COMPATIBILITY TABLE -->