From fad4d8ac97689654e388573b83086c92adb77fcb Mon Sep 17 00:00:00 2001 From: Mike <45664417+thewhobox@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:04:43 +0100 Subject: [PATCH] renamed isAckRequired isSentToTunnel --- src/knx/bau091A.cpp | 4 ++-- src/knx/ip_data_link_layer.cpp | 2 +- src/knx/ip_data_link_layer.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/knx/bau091A.cpp b/src/knx/bau091A.cpp index ccbafa7a..ad0f82da 100644 --- a/src/knx/bau091A.cpp +++ b/src/knx/bau091A.cpp @@ -184,7 +184,7 @@ TPAckType Bau091A::isAckRequired(uint16_t address, bool isGrpAddr) // all are ACKED ack = TPAckType::AckReqAck; - if(_dlLayerPrimary.isAckRequired(address, isGrpAddr)) + if(_dlLayerPrimary.isSentToTunnel(address, isGrpAddr)) ack = TPAckType::AckReqAck; } else @@ -200,7 +200,7 @@ TPAckType Bau091A::isAckRequired(uint16_t address, bool isGrpAddr) ack = TPAckType::AckReqNone; #ifdef KNX_TUNNELING - if(_dlLayerPrimary.isAckRequired(address, isGrpAddr)) + if(_dlLayerPrimary.isSentToTunnel(address, isGrpAddr)) ack = TPAckType::AckReqAck; #endif diff --git a/src/knx/ip_data_link_layer.cpp b/src/knx/ip_data_link_layer.cpp index 035c197b..6c6fa005 100644 --- a/src/knx/ip_data_link_layer.cpp +++ b/src/knx/ip_data_link_layer.cpp @@ -228,7 +228,7 @@ bool IpDataLinkLayer::isTunnelAddress(uint16_t addr) return false; } -bool IpDataLinkLayer::isAckRequired(uint16_t address, bool isGrpAddr) +bool IpDataLinkLayer::isSentToTunnel(uint16_t address, bool isGrpAddr) { if(isGrpAddr) { diff --git a/src/knx/ip_data_link_layer.h b/src/knx/ip_data_link_layer.h index 1bb5fabc..8a5c2b4f 100644 --- a/src/knx/ip_data_link_layer.h +++ b/src/knx/ip_data_link_layer.h @@ -25,7 +25,7 @@ class IpDataLinkLayer : public DataLinkLayer void dataConfirmationToTunnel(CemiFrame& frame) override; void dataIndicationToTunnel(CemiFrame& frame) override; bool isTunnelAddress(uint16_t addr) override; - bool isAckRequired(uint16_t address, bool isGrpAddr); + bool isSentToTunnel(uint16_t address, bool isGrpAddr); #endif private: