Refactor DALI command handling: streamline send methods and enhance scene color reporting
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -201,6 +201,7 @@ bool DaliComm::sendCmd(uint8_t addr, uint8_t cmd) const {
|
||||
return writeFrame(frame);
|
||||
}
|
||||
|
||||
// Send extended command frame (0x11). Gateway will send twice for 0x11, but we only need to send once.
|
||||
bool DaliComm::sendExtCmd(uint8_t addr, uint8_t cmd) const {
|
||||
const std::vector<uint8_t> frame{0x11, addr, cmd};
|
||||
const bool ret = writeFrame(frame);
|
||||
|
||||
Reference in New Issue
Block a user