also ack indivisual broadcasts

This commit is contained in:
Thomas Kunze 2020-11-16 20:35:08 +01:00
parent bb818d9877
commit 45158bb071
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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