bbcfcd11f6
- Updated CMakeLists.txt to include new source files for DT4, DT5, and DT6. - Modified dali.hpp to include headers for DT4, DT5, and DT6. - Added command definitions for DT4, DT5, and DT6 in dali_define.hpp. - Enhanced DaliDeviceCapabilities to support DT4, DT5, and DT6 detection. - Implemented DT4 and DT5 classes with methods for device control and status querying. - Created DT6 class with methods for device control and status querying. - Updated decode.cpp to include new device types in the deviceTypeName mapping. - Enhanced device.cpp to handle new device capabilities.
28 lines
707 B
CMake
28 lines
707 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/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"
|
|
"src/modbus_bridge.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES mqtt cjson nvs_flash
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)
|