1766fd4d5b35ea09d8cbc9bf30eaa80d56594361
Updated MQTT submodule: git log --oneline 89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394 * Added support for client with empty id * Fixed user requested disconnect to correctly send MQTT disconnection message * Fixed reconnection request with disabled autoreconnect * Added qos and dup flags to data events * Added Support for suback massage payload in mqtt events Detailed description of the changes (https://github.com/espressif/esp-mqtt/compare/89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394): * Adds the possibility of client with empty id - See merge request esp-mqtt!114 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/09287a11565fdd26f5c0deb2960566dff676509b - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/1fd50dd2cbbe9a7847d8e99d2d802c17122a0be9 - Related IDF-4124 * Client: Disconnect/Reconnect improvements - See merge request esp-mqtt!113 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/3f05b1aedc4da048d3a41657339e77dfc0bfe0a8 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/86e40f86152a522b179b5dcc1dbbd0b288ee8321 - Related https://github.com/espressif/esp-mqtt/issues/206 - Related https://github.com/espressif/esp-mqtt/issues/208 * Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR) - See merge request esp-mqtt!112 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/de47f1c3415d38509d9fe3436dc6d35886556954 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/e1d5a9402f08a21e3ca755afbbcd8d99be681902 - Related https://github.com/espressif/esp-mqtt/issues/200 - Related https://github.com/espressif/esp-mqtt/pull/203
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%