MQTT: Integrate esp-mqtt library into idf

added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
This commit is contained in:
David Cermak
2018-07-24 16:59:03 +02:00
parent 17ac4bad73
commit 23345d2021
60 changed files with 1830 additions and 39 deletions
+7
View File
@@ -0,0 +1,7 @@
set(COMPONENT_ADD_INCLUDEDIRS esp-mqtt/include)
set(COMPONENT_PRIV_INCLUDEDIRS "esp-mqtt/lib/include")
set(COMPONENT_SRCDIRS esp-mqtt esp-mqtt/lib)
set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)
register_component()
+1
View File
@@ -0,0 +1 @@
source "$IDF_PATH/components/mqtt/esp-mqtt/Kconfig.included"
+4
View File
@@ -0,0 +1,4 @@
COMPONENT_SUBMODULES += esp-mqtt
COMPONENT_ADD_INCLUDEDIRS := esp-mqtt/include
COMPONENT_SRCDIRS := esp-mqtt esp-mqtt/lib
COMPONENT_PRIV_INCLUDEDIRS := esp-mqtt/lib/include