knx
ETS configurable knx-stack
TransportLayer Class Reference

#include <transport_layer.h>

Public Member Functions

 TransportLayer (ApplicationLayer &layer)
 
void networkLayer (NetworkLayer &layer)
 
void groupAddressTable (AddressTableObject &addrTable)
 
void dataIndividualIndication (uint16_t destination, HopCountType hopType, Priority priority, uint16_t source, TPDU &tpdu)
 
void dataIndividualConfirm (AckType ack, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu, bool status)
 
void dataGroupIndication (uint16_t destination, HopCountType hopType, Priority priority, uint16_t source, TPDU &tpdu)
 
void dataGroupConfirm (AckType ack, uint16_t source, uint16_t destination, HopCountType hopType, Priority priority, TPDU &tpdu, bool status)
 
void dataBroadcastIndication (HopCountType hopType, Priority priority, uint16_t source, TPDU &tpdu)
 
void dataBroadcastConfirm (AckType ack, HopCountType hopType, Priority priority, TPDU &tpdu, bool status)
 
void dataSystemBroadcastIndication (HopCountType hopType, Priority priority, uint16_t source, TPDU &tpdu)
 
void dataSystemBroadcastConfirm (AckType ack, HopCountType hopType, TPDU &tpdu, Priority priority, bool status)
 
void dataGroupRequest (AckType ack, HopCountType hopType, Priority priority, uint16_t tsap, APDU &apdu)
 Request to send an APDU that via multicast. More...
 
void dataBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, APDU &apdu)
 
void dataSystemBroadcastRequest (AckType ack, HopCountType hopType, Priority priority, APDU &apdu)
 
void dataIndividualRequest (AckType ack, HopCountType hopType, Priority priority, uint16_t destination, APDU &apdu)
 
void connectRequest (uint16_t destination, Priority priority)
 
void disconnectRequest (uint16_t tsap, Priority priority)
 
void dataConnectedRequest (uint16_t tsap, Priority priority, APDU &apdu)
 
uint8_t getTpciSeqNum ()
 
uint16_t getConnectionAddress ()
 
void connectionTimeoutIndication ()
 
void ackTimeoutIndication ()
 
void loop ()
 

Detailed Description

Definition at line 16 of file transport_layer.h.

Constructor & Destructor Documentation

◆ TransportLayer()

TransportLayer::TransportLayer ( ApplicationLayer layer)

Definition at line 10 of file transport_layer.cpp.

Member Function Documentation

◆ ackTimeoutIndication()

void TransportLayer::ackTimeoutIndication ( )

Definition at line 557 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ connectionTimeoutIndication()

void TransportLayer::connectionTimeoutIndication ( )

Definition at line 539 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ connectRequest()

void TransportLayer::connectRequest ( uint16_t  destination,
Priority  priority 
)

Definition at line 476 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ dataBroadcastConfirm()

void TransportLayer::dataBroadcastConfirm ( AckType  ack,
HopCountType  hopType,
Priority  priority,
TPDU tpdu,
bool  status 
)

Definition at line 431 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataBroadcastIndication()

void TransportLayer::dataBroadcastIndication ( HopCountType  hopType,
Priority  priority,
uint16_t  source,
TPDU tpdu 
)

Definition at line 426 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataBroadcastRequest()

void TransportLayer::dataBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
APDU apdu 
)

Definition at line 456 of file transport_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dataConnectedRequest()

void TransportLayer::dataConnectedRequest ( uint16_t  tsap,
Priority  priority,
APDU apdu 
)

Definition at line 513 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ dataGroupConfirm()

void TransportLayer::dataGroupConfirm ( AckType  ack,
uint16_t  source,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu,
bool  status 
)

Definition at line 421 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataGroupIndication()

void TransportLayer::dataGroupIndication ( uint16_t  destination,
HopCountType  hopType,
Priority  priority,
uint16_t  source,
TPDU tpdu 
)

Definition at line 408 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataGroupRequest()

void TransportLayer::dataGroupRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
uint16_t  tsap,
APDU apdu 
)

Request to send an APDU that via multicast.

See 3.2 of [1]. See also ApplicationLayer::dataGroupConfirm and ApplicationLayer::dataGroupIndication. This method is called by the ApplicationLayer.

Parameters
tsapused the find the correct GroupObject with the help of the AssociationTableObject. See 3.1.1 of [2]
apduThe submitted APDU.
priorityThe Priority of the request.
hopTypeShould routing be endless or should the NetworkLayer::hopCount be used? See also HopCountType.
ackDid we want a DataLinkLayer acknowledgement? See AckType.

Definition at line 446 of file transport_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dataIndividualConfirm()

void TransportLayer::dataIndividualConfirm ( AckType  ack,
uint16_t  destination,
HopCountType  hopType,
Priority  priority,
TPDU tpdu,
bool  status 
)

Definition at line 335 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataIndividualIndication()

void TransportLayer::dataIndividualIndication ( uint16_t  destination,
HopCountType  hopType,
Priority  priority,
uint16_t  source,
TPDU tpdu 
)

Definition at line 26 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataIndividualRequest()

void TransportLayer::dataIndividualRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
uint16_t  destination,
APDU apdu 
)

Definition at line 468 of file transport_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dataSystemBroadcastConfirm()

void TransportLayer::dataSystemBroadcastConfirm ( AckType  ack,
HopCountType  hopType,
TPDU tpdu,
Priority  priority,
bool  status 
)

Definition at line 441 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataSystemBroadcastIndication()

void TransportLayer::dataSystemBroadcastIndication ( HopCountType  hopType,
Priority  priority,
uint16_t  source,
TPDU tpdu 
)

Definition at line 436 of file transport_layer.cpp.

Here is the call graph for this function:

◆ dataSystemBroadcastRequest()

void TransportLayer::dataSystemBroadcastRequest ( AckType  ack,
HopCountType  hopType,
Priority  priority,
APDU apdu 
)

Definition at line 462 of file transport_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disconnectRequest()

void TransportLayer::disconnectRequest ( uint16_t  tsap,
Priority  priority 
)

Definition at line 495 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ getConnectionAddress()

uint16_t TransportLayer::getConnectionAddress ( )

Definition at line 603 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ getTpciSeqNum()

uint8_t TransportLayer::getTpciSeqNum ( )

Definition at line 595 of file transport_layer.cpp.

◆ groupAddressTable()

void TransportLayer::groupAddressTable ( AddressTableObject addrTable)

Definition at line 21 of file transport_layer.cpp.

Here is the caller graph for this function:

◆ loop()

void TransportLayer::loop ( )

Definition at line 608 of file transport_layer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ networkLayer()

void TransportLayer::networkLayer ( NetworkLayer layer)

Definition at line 16 of file transport_layer.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: