A tiny Arduino/PlatformIO library for a MQTT client running on ESP8266 and ESP32.
- Choose
Sketch->Include Library->Manage Libraries... - Type
TinyMQTTClientinto the search box. - Click the row to select the library.
- Click the
Installbutton to install the library.
- Choose
PIO Home->Libraries->Registry - Type
TinyMQTTClientinto the search box. - Click the row to select the library.
- Click the
Installbutton to install the library.
cd ~/Documents/Arduino/libraries/
git clone https://github.com/exocet22/TinyMQTTClient TinyMQTTClientSee examples folder.
- MQTT version 3.1.1.
- No TLS/SSL encryption.
- SUBSCRIBE/UNSUBSCRIBE in QoS 1.
- PUBLISH in QoS 0.
- Topic and message sizes limited to 16 bits.
- Keepalive set to 15 seconds.
- Ping set to 10 seconds.
- Supports external TCP client.
This libary is licensed under the MIT Licence.