Files
dali_cpp/CMakeLists.txt
T
Tony 21afc6b942 Implement DALI Bridge Engine and Model Management
- Added `bridge.cpp` to handle DALI bridge operations including model management, command execution, and response formatting.
- Introduced `bridge_model.cpp` for defining bridge models, value transformations, and JSON serialization/deserialization.
- Created `bridge_provisioning.cpp` for managing bridge configuration storage and retrieval using NVS on ESP platform.
- Enhanced `gateway_cloud.cpp` to integrate DALI bridge requests and responses with cloud communication.
- Introduced `modbus_bridge.cpp` to handle Modbus-specific operations and register management.
- Implemented utility functions for converting between DaliValue and cJSON formats.
- Added error handling and metadata management in bridge responses.
2026-04-22 10:14:42 +08:00

25 lines
641 B
CMake

idf_component_register(
SRCS
"src/dali_comm.cpp"
"src/base.cpp"
"src/addr.cpp"
"src/bridge.cpp"
"src/bridge_model.cpp"
"src/bridge_provisioning.cpp"
"src/bacnet_bridge.cpp"
"src/decode.cpp"
"src/device.cpp"
"src/dt1.cpp"
"src/dt8.cpp"
"src/sequence.cpp"
"src/sequence_store.cpp"
"src/color.cpp"
"src/gateway_cloud.cpp"
"src/gateway_provisioning.cpp"
"src/modbus_bridge.cpp"
INCLUDE_DIRS "include"
REQUIRES mqtt cjson nvs_flash
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)