From 45158bb071a5b8cbd6534491776c292b3fac8a5c Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Mon, 16 Nov 2020 20:35:08 +0100 Subject: [PATCH] also ack indivisual broadcasts --- src/knx/bau07B0.cpp | 4 ++-- src/knx/network_layer_coupler.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/knx/bau07B0.cpp b/src/knx/bau07B0.cpp index 2dadc75..0aa9df6 100644 --- a/src/knx/bau07B0.cpp +++ b/src/knx/bau07B0.cpp @@ -138,8 +138,8 @@ bool Bau07B0::isAckRequired(uint16_t address, bool isGrpAddr) return _addrTable.contains(address); } - // Also ACK for our own individual address - if (address == _deviceObj.individualAddress()) + // Also ACK for our own individual address or broadcast + if (individualAddress == _deviceObj.individualAddress() || individualAddress == 0) return true; return false; diff --git a/src/knx/network_layer_coupler.cpp b/src/knx/network_layer_coupler.cpp index 038d455..d54b176 100644 --- a/src/knx/network_layer_coupler.cpp +++ b/src/knx/network_layer_coupler.cpp @@ -98,8 +98,8 @@ bool NetworkLayerCoupler::isRoutedIndividualAddress(uint16_t individualAddress) // This shall serve for protection purposes. (It is useful to prevent all parameterisation in one Subnetwork; the Coupler shall be protected // too. A typical use case is the protection of a Subnetwork that is located outside a building) - // Also ACK for our own individual address - if (individualAddress == _deviceObj.individualAddress()) + // Also ACK for our own individual address or broadcast + if (individualAddress == _deviceObj.individualAddress() || individualAddress == 0) return true; // use 2 for now