Add support for DT4, DT5, and DT6 devices
- 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.
This commit is contained in:
@@ -17,6 +17,9 @@ struct DaliLongAddress {
|
||||
|
||||
struct DaliDeviceCapabilities {
|
||||
std::optional<bool> supportsDt1;
|
||||
std::optional<bool> supportsDt4;
|
||||
std::optional<bool> supportsDt5;
|
||||
std::optional<bool> supportsDt6;
|
||||
std::optional<bool> supportsDt8;
|
||||
|
||||
static DaliDeviceCapabilities fromJson(const DaliValue::Object* json);
|
||||
|
||||
Reference in New Issue
Block a user