Skip to content

Commit

Permalink
renamed isAckRequired isSentToTunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhobox committed Feb 12, 2024
1 parent bb94e63 commit fad4d8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/knx/bau091A.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/knx/ip_data_link_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/knx/ip_data_link_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fad4d8a

Please sign in to comment.