Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhobox committed Feb 4, 2024
1 parent cedabdd commit c1623fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/knx/data_link_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ bool DataLinkLayer::sendTelegram(NPDU & npdu, AckType ack, uint16_t destinationA
tmpFrame.rfLfn(frame.rfLfn());
#endif
tmpFrame.confirm(ConfirmNoError);
_cemiServer->dataIndicationToTunnel(tmpFrame);

if(frame.sourceAddress() == _deviceObject.individualAddress())
_cemiServer->dataIndicationToTunnel(tmpFrame);
#endif

return success;
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 @@ -232,7 +232,7 @@ void IpDataLinkLayer::loop()
#ifdef KNX_LOG_TUNNELING
print("Closed Tunnel 0x");
print(tunnels[i].ChannelId, 16);
println(" due to no heartbeat in 30 seconds");
println(" due to no heartbeat in 2 minutes");
#endif
KnxIpDisconnectRequest discReq;
discReq.channelId(tunnels[i].ChannelId);
Expand Down

0 comments on commit c1623fa

Please sign in to comment.