d372bbf09e10601ba3b440dea3bccb46bfb660f9
* Update submodule: git log --oneline 64f88b4412ea6649dbf207a07370c2617160d044..a21c387d6280260894981c22494017c893d505b9 Detailed description of the changes: * mqtt_client: Added checks for cleanly-closed connection and timeout - See merge request espressif/esp-mqtt!118 - Added checks for cleanly-closed connection and timeout (espressif/esp-mqtt@e05d873) * mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR) - See merge request espressif/esp-mqtt!135 - mqtt_client: fix esp_mqtt_client_enqueue for len=0 (espressif/esp-mqtt@69b6493) * Fix implicit malloc/free inclusion - See merge request espressif/esp-mqtt!134 - See commit https://github.com/espressif/esp-mqtt/commit/9299f54 * feat(mqtt): Optimize mqtt transport list and remove unused transport - See merge request espressif/esp-mqtt!131 - See commit https://github.com/espressif/esp-mqtt/commit/647e0ef * Fix WSS default port selection through menuconfig. - See merge request espressif/esp-mqtt!132 - - Closes https://github.com/espressif/esp-mqtt/issues/223 - See commit https://github.com/espressif/esp-mqtt/commit/f6caaff
ESP32 MQTT Library
Features
- Based on: https://github.com/tuanpmt/esp_mqtt
- 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).
How to use
ESP-MQTT is a standard ESP-IDF component. Please refer to instructions in ESP-IDF
Documentation
-
Please refer to the standard ESP-IDF, documentation for the latest version: https://docs.espressif.com/projects/esp-idf/
-
Documentation of ESP-MQTT API: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/mqtt.html
License
- MQTT Package - Stephen Robinson - contiki-mqtt
- Others @tuanpmt Apache License
Older IDF verisons
For ESP-IDF versions prior to IDFv3.2, please clone as a component of ESP-IDF:
git submodule add https://github.com/espressif/esp-mqtt.git components/espmqtt
and checkout the ESP-MQTT_FOR_IDF_3.1 tag
Languages
C
96.5%
C++
1.7%
Shell
1.1%
CMake
0.7%