feat: implement raw frame dispatch and handling in DaliDomainService
Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
@@ -408,6 +408,10 @@ void GatewayBleBridge::handleDaliRawFrame(const DaliRawFrame& frame) {
|
||||
if (!controller_.rawReportingEnabled(frame.gateway_id)) {
|
||||
return;
|
||||
}
|
||||
// Forward/control events are already published on FFF3 as structured 0x22 frames.
|
||||
if (notify_enabled_[kGatewayCharacteristicIndex] && frame.data.size() != 1) {
|
||||
return;
|
||||
}
|
||||
notifyCharacteristic(frame.channel_index, LegacyRawPayload(frame.data));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user