https://github.com/espressif/esp-mqtt
ESP32 mqtt component
https://github.com/espressif/esp-mqtt
component esp-idf esp32 iot mqtt
Last synced: 25 days ago
JSON representation
ESP32 mqtt component
- Host: GitHub
- URL: https://github.com/espressif/esp-mqtt
- Owner: espressif
- License: apache-2.0
- Created: 2016-09-09T17:06:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T07:00:49.000Z (about 1 month ago)
- Last Synced: 2025-05-08T02:55:34.449Z (about 1 month ago)
- Topics: component, esp-idf, esp32, iot, mqtt
- Language: C
- Homepage:
- Size: 1.76 MB
- Stars: 646
- Watchers: 48
- Forks: 263
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 MQTT Library


## Features
- Based on:
- Support MQTT over TCP, SSL with mbedtls, MQTT over Websocket, MQTT over Websocket Secure
- Easy to setup with URI
- Multiple instances (Multiple clients in one application)
- Support subscribing, publishing, authentication, will messages, keep alive pings and all 3 QoS levels (it should be a fully functional client).
- Support for MQTT 3.1.1 and 5.0## How to use
[ESP-MQTT](https://github.com/espressif/esp-mqtt) is a standard [ESP-IDF](https://github.com/espressif/esp-idf) component.
Please refer to instructions in [ESP-IDF](https://github.com/espressif/esp-idf)## Documentation
- Please refer to the standard [ESP-IDF](https://github.com/espressif/esp-idf), documentation for the latest version:
- Documentation of ESP-MQTT API:
## License
- MQTT Package - [Stephen Robinson - contiki-mqtt](https://github.com/esar/contiki-mqtt)
- Others [@tuanpmt](https://twitter.com/tuanpmt)
Apache License## Older IDF verisons
For [ESP-IDF](https://github.com/espressif/esp-idf) versions prior to IDFv3.2, please clone as a component of [ESP-IDF](https://github.com/espressif/esp-idf):
```
git submodule add https://github.com/espressif/esp-mqtt.git components/espmqtt
```and checkout the [ESP-MQTT_FOR_IDF_3.1](https://github.com/espressif/esp-mqtt/tree/ESP-MQTT_FOR_IDF_3.1) tag