esp_local_ctrl: Add support for insecure HTTP server transport

This commit is contained in:
Laukik Hase
2022-12-23 12:14:25 +05:30
parent 42c6ae3522
commit b3fa7fcf73
8 changed files with 85 additions and 30 deletions
+2 -5
View File
@@ -4,11 +4,6 @@ set(srcs "src/esp_local_ctrl.c"
"src/esp_local_ctrl_handler.c"
"proto-c/esp_local_ctrl.pb-c.c")
if(CONFIG_ESP_HTTPS_SERVER_ENABLE)
list(APPEND srcs
"src/esp_local_ctrl_transport_httpd.c")
endif()
if(CONFIG_BT_ENABLED)
if(CONFIG_BT_BLUEDROID_ENABLED)
list(APPEND srcs
@@ -16,6 +11,8 @@ if(CONFIG_BT_ENABLED)
endif()
endif()
list(APPEND srcs
"src/esp_local_ctrl_transport_httpd.c")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "${include_dirs}"