fix bug in res tunnel feature

This commit is contained in:
Ing-Dom 2024-12-23 22:40:18 +01:00
parent c1588e12d5
commit d02d04f13c
2 changed files with 6 additions and 2 deletions

View File

@ -654,8 +654,7 @@ void IpDataLinkLayer::loopHandleConnectRequest(uint8_t* buffer, uint16_t length,
tunnelResOptions[i] = (*(tunCtrlBytes+i) & 0x60) >> 5; tunnelResOptions[i] = (*(tunCtrlBytes+i) & 0x60) >> 5;
} }
if(resTunActive && tunnelResActive[i]) // tunnel reserve feature active for this tunnel
if(tunnelResActive[i]) // tunnel reserve feature active for this tunnel
{ {
#ifdef KNX_LOG_TUNNELING #ifdef KNX_LOG_TUNNELING
print("tunnel reserve feature active for this tunnel: "); print("tunnel reserve feature active for this tunnel: ");

View File

@ -7,6 +7,11 @@ KnxIpTunnelConnection::KnxIpTunnelConnection()
void KnxIpTunnelConnection::Reset() void KnxIpTunnelConnection::Reset()
{ {
print("Close Tunnel-Connection[");
print("?");
print("], Channel: 0x");
println(ChannelId, 16);
ChannelId = 0; ChannelId = 0;
IpAddress = 0; IpAddress = 0;
PortData = 0; PortData = 0;