70c39ea1e1
- Updated CMakeLists.txt to require gateway_cache component. - Modified gateway_controller.hpp to include GatewayCache and adjust constructor. - Removed internal scene and group management logic from GatewayController, delegating to GatewayCache. - Simplified scene and group operations by utilizing GatewayCache methods for enabling, setting details, and deleting. - Eliminated NVS storage handling code, as scene and group data is now managed by GatewayCache. - Updated command handling methods to use cached data instead of internal structures. Co-authored-by: Copilot <copilot@github.com>
7 lines
185 B
CMake
7 lines
185 B
CMake
idf_component_register(
|
|
SRCS "src/gateway_cache.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES freertos log nvs_flash
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) |