c03353333ba04921913e7ba23205e9d5b83729e1
Updated MQTT submodule: git log --oneline f10321a53b53a146ee299cfecc320b89c0cf6611...89894bd0c611b1392967fe90bb49682eba858383 * Fix build issue if cert bundle disabled * Fix build issue if ws transport disabled * Add config to set retransmission interval Detailed description of the changes (https://github.com/espressif/esp-mqtt/compare/f10321a53b53a146ee299cfecc320b89c0cf6611...89894bd0c611b1392967fe90bb49682eba858383): * Added config option to configure custom retransmission interval - See merge request espressif/esp-mqtt!110 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/1b009c840b78a14f59b6ada70d36aca9ad6303f0 - Related https://github.com/espressif/esp-mqtt/pull/199 * Configuration conflicts were verified, logged but not reported to the user. - See merge request espressif/esp-mqtt!102 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/88f4b8ed50af6989efba3f87a14882b276e2deb7 * Fixed build issue if cert bundle disabled - See merge request espressif/esp-mqtt!109 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/4a89bff610b86f534f67d032a3e1549d8c4da95f - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/1b719805756f60140312f8e314f732c0a177f74f - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/5b3c81ee482c815e2602f5d16adb0e197b9e3695 - Related https://github.com/espressif/esp-mqtt/pull/198 - Related https://github.com/espressif/esp-idf/issues/7535 * Removes unnecessary outbox_cleanup - This function were used on old version to handle QoS 2 messages. It's no longer necessary in current implementation. - See merge request espressif/esp-mqtt!108 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/ebef896b00c1e0b48107a074f786096479b8c9ee * Fixed return an error when fail to enqueue - The functions that enqueue messages didn't had a return for the handler, with this the error was only logged instead of returned whichmay cause the user to have an ID for a message that was not published. - See merge request espressif/esp-mqtt!103 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/7471177fe77aea8c0d85d8008867aa8d6ff57424 * CI: Use qemu image based on esp-env:v4.4-1 - Replaced the temporary qemu image with the official qemu:v4.4-1-20210517 derived from the esp-env:v4.4-1 test environment - See merge request espressif/esp-mqtt!107 - esp_mqtt commit https://github.com/espressif/esp-mqtt/commit/231b2749628b59df997750e82d6470d68735798b Closes https://github.com/espressif/esp-idf/issues/7535
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%