Files
dali_cpp/CMakeLists.txt
T
Tony 211a9a9c41 Enhance DaliDecode: add support for device type decoding and context management
- Introduced new structures and methods for handling device type decoding, including DaliDecodeContext and DeviceTypeDecodeTable.
- Implemented decoding functions for device types DT1, DT4, DT5, DT6, and DT8, with specific command and query handling.
- Updated existing decode methods to incorporate gateway and source parameters for better context tracking.
- Added detailed formatting for device type commands and queries, enhancing the decoding process for various device types.
- Refactored the decode logic to utilize the new context management for maintaining state across different device types.

Signed-off-by: Tony <tonylu@tony-cloud.com>
2026-06-13 14:25:27 +08:00

32 lines
841 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/decode.cpp"
"src/decode_device_type.cpp"
"src/decode_dt1.cpp"
"src/decode_dt4.cpp"
"src/decode_dt5.cpp"
"src/decode_dt6.cpp"
"src/decode_dt8.cpp"
"src/device.cpp"
"src/dt1.cpp"
"src/dt4.cpp"
"src/dt5.cpp"
"src/dt6.cpp"
"src/dt8.cpp"
"src/sequence.cpp"
"src/sequence_store.cpp"
"src/color.cpp"
"src/gateway_cloud.cpp"
"src/gateway_provisioning.cpp"
INCLUDE_DIRS "include"
REQUIRES mqtt cjson nvs_flash esp_driver_uart
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)