mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
fix bug when resending telegram
This commit is contained in:
parent
176484ea80
commit
5903651cfa
@ -611,10 +611,10 @@ void TransportLayer::A6(uint16_t tsap)
|
||||
void TransportLayer::A7(Priority priority, APDU& apdu)
|
||||
{
|
||||
_savedPriority = priority;
|
||||
_savedFrame = apdu.frame();
|
||||
TPDU& tpdu = apdu.frame().tpdu();
|
||||
tpdu.type(DataConnected);
|
||||
tpdu.sequenceNumber(_seqNoSend);
|
||||
_savedFrame = apdu.frame();
|
||||
_networkLayer->dataIndividualRequest(AckRequested, _connectionAddress, NetworkLayerParameter, priority, tpdu);
|
||||
_repCount = 0;
|
||||
enableAckTimeout();
|
||||
@ -680,6 +680,8 @@ void TransportLayer::A14(uint16_t tsap, Priority priority)
|
||||
tpdu.sequenceNumber(0);
|
||||
_networkLayer->dataIndividualRequest(AckRequested, _connectionAddress, NetworkLayerParameter, SystemPriority, tpdu);
|
||||
_applicationLayer.disconnectConfirm(priority, tsap, true);
|
||||
disableConnectionTimeout();
|
||||
disableAckTimeout();
|
||||
}
|
||||
|
||||
void TransportLayer::A15(Priority priority, uint16_t tsap)
|
||||
|
Loading…
Reference in New Issue
Block a user