8b3d3db10b2fde3d3ef8977686895c41551c7c78
SSL: add config option for skipping common name check esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/5e8950e681e5419d85e0ffc0d72a78cdeb894fd7) Closes https://github.com/espressif/esp-mqtt/issues/158 SSL: add support for tls with secure element (ATECC608A) esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/a7ff9afa3f82a10433bd0dfab8225e315b6f7213) Closes https://github.com/espressif/esp-mqtt/issues/156 Websocket: Allow the query part of the uri to be a part of the path esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/40b06deb10d27219c66ddb2e1a628caf0fc2547f) Closes https://github.com/espressif/esp-mqtt/issues/161 Config: Add check for consistency between config settings esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/8a412c147de5cce4b2c2a612915755cf551a1675) Add IDF version check for secure element feature esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/db4bce01ab6d8e4ad81e59995def48b5728d9b36) Fix esp_mqtt_client_stop deadlock esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/5e17dcaeb257f847386478119935ecd360f47377) Closes https://github.com/espressif/esp-mqtt/issues/163 Add dispatch error event for read errors esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/d4aaec08ff13b5a599f114cba8ada684901c7e54 Closes https://github.com/espressif/esp-idf/issues/5704 Cleanup expired messages when offline esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/bdadd77c6e24382234c1960600ac2bdf4a6ace9d Closes https://github.com/espressif/esp-idf/issues/5668 esp_mqtt_client_publish now returns msg id for QoS > 0 when offline esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/f7325bfa10c7cacabb76e58fcd2e1622a9e1b589 Add support for Digital Signature through ESP-TLS esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/7d8e59de0062ff9312c5e97b4a409d43271f5f81
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%