fix: enhance command frame validation and add DALI bus configuration options

Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
Tony
2026-06-16 06:17:15 +08:00
parent 3fca7161fc
commit a2ea9e5bbe
3 changed files with 31 additions and 1 deletions
@@ -696,7 +696,7 @@ bool GatewayKnxBridge::handleDalimasterDiscoveryState(const uint8_t*, size_t,
response->push_back('G');
response->push_back(0x01);
response->push_back(kDalimasterTransferChunkBytes);
uint16_t feature_flags = 0x0100 | 0x0080;
uint16_t feature_flags = 0x0100 | 0x0080 | 0x0200;
if (config_.tunnel_enabled) {
feature_flags |= 0x0001;
}