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>
8 lines
223 B
CMake
8 lines
223 B
CMake
idf_component_register(
|
|
SRCS "src/gateway_controller.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES dali_domain gateway_runtime gateway_cache freertos log
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)
|