mirror of
https://github.com/thelsing/knx.git
synced 2025-08-17 13:47:28 +02:00
Merge branch 'master' of github.com:thelsing/knx
This commit is contained in:
commit
88665eeb60
@ -175,7 +175,10 @@ void ApplicationLayer::connectIndication(uint16_t tsap)
|
||||
|
||||
void ApplicationLayer::connectConfirm(uint16_t destination, uint16_t tsap, bool status)
|
||||
{
|
||||
|
||||
if (status)
|
||||
_connectedTsap = tsap;
|
||||
else
|
||||
_connectedTsap = -1;
|
||||
}
|
||||
|
||||
void ApplicationLayer::disconnectIndication(uint16_t tsap)
|
||||
|
@ -666,6 +666,7 @@ void TransportLayer::A12(uint16_t destination, Priority priority)
|
||||
CemiFrame frame(0);
|
||||
TPDU& tpdu = frame.tpdu();
|
||||
tpdu.type(Connect);
|
||||
_networkLayer->dataIndividualRequest(AckRequested, destination, NetworkLayerParameter, priority, tpdu);
|
||||
_seqNoRecv = 0;
|
||||
_seqNoSend = 0;
|
||||
enableConnectionTimeout();
|
||||
|
Loading…
Reference in New Issue
Block a user