mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
fix connect
This commit is contained in:
parent
5a93bbc91c
commit
cdcfbb4e83
@ -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