mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 09:25:20 +00:00
Add new, socket based MQTT implementation, based on MQTT from Nordic nRF5 SDK, introducing the following features: * transport independent MQTT logic, with support for multiple transports * support for multiple MQTT versions (3.1.0 and 3.1.1 supported) * single event handler - no need to keep callback array in RAM * automatic send of Ping Requests, for connection keep-alive * message/event parameters wrapped into strucutres - easier extension for future MQTT versions * no separate thread needed to run MQTT - application only needs to call mqtt_input and mqtt_live periodically Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
21 lines
765 B
CMake
21 lines
765 B
CMake
add_subdirectory_if_kconfig(coap)
|
|
add_subdirectory_if_kconfig(coap_sock)
|
|
add_subdirectory_if_kconfig(lwm2m)
|
|
add_subdirectory_if_kconfig(sntp)
|
|
add_subdirectory_ifdef(CONFIG_DNS_RESOLVER dns)
|
|
add_subdirectory_ifdef(CONFIG_MQTT_LEGACY_LIB mqtt)
|
|
add_subdirectory_ifdef(CONFIG_MQTT_LIB mqtt_sock)
|
|
add_subdirectory_ifdef(CONFIG_NET_APP app)
|
|
add_subdirectory_ifdef(CONFIG_NET_CONFIG_SETTINGS config)
|
|
add_subdirectory_ifdef(CONFIG_NET_SOCKETS sockets)
|
|
add_subdirectory_ifdef(CONFIG_TLS_CREDENTIALS tls_credentials)
|
|
add_subdirectory_ifdef(CONFIG_WEBSOCKET websocket)
|
|
|
|
if(CONFIG_HTTP_PARSER_URL
|
|
OR CONFIG_HTTP_PARSER
|
|
OR CONFIG_HTTP)
|
|
add_subdirectory(http)
|
|
endif()
|
|
|
|
add_subdirectory_ifdef(CONFIG_OPENTHREAD_PLAT openthread)
|