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
committed by Euripedes Rocha
parent d5a2c0a7c6
commit c5069977a4
4 changed files with 13 additions and 0 deletions

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
components/mqtt/Kconfig Normal file
View File

@ -0,0 +1 @@
source "$IDF_PATH/components/mqtt/esp-mqtt/Kconfig.included"

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

Submodule components/mqtt/esp-mqtt added at abaab2abcc