|
knx
ETS configurable knx-stack
|
#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 () |
Definition at line 16 of file transport_layer.h.
| TransportLayer::TransportLayer | ( | ApplicationLayer & | layer | ) |
Definition at line 10 of file transport_layer.cpp.
| void TransportLayer::ackTimeoutIndication | ( | ) |
| void TransportLayer::connectionTimeoutIndication | ( | ) |
| void TransportLayer::connectRequest | ( | uint16_t | destination, |
| Priority | priority | ||
| ) |
| void TransportLayer::dataBroadcastConfirm | ( | AckType | ack, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| TPDU & | tpdu, | ||
| bool | status | ||
| ) |
| void TransportLayer::dataBroadcastIndication | ( | HopCountType | hopType, |
| Priority | priority, | ||
| uint16_t | source, | ||
| TPDU & | tpdu | ||
| ) |
| void TransportLayer::dataBroadcastRequest | ( | AckType | ack, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| APDU & | apdu | ||
| ) |
Definition at line 456 of file transport_layer.cpp.
| void TransportLayer::dataGroupConfirm | ( | AckType | ack, |
| uint16_t | source, | ||
| uint16_t | destination, | ||
| HopCountType | hopType, | ||
| Priority | priority, | ||
| TPDU & | tpdu, | ||
| bool | status | ||
| ) |
| void TransportLayer::dataGroupIndication | ( | uint16_t | destination, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| uint16_t | source, | ||
| TPDU & | tpdu | ||
| ) |
| 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.
| tsap | used the find the correct GroupObject with the help of the AssociationTableObject. See 3.1.1 of [2] |
| apdu | The submitted APDU. |
| priority | The Priority of the request. |
| hopType | Should routing be endless or should the NetworkLayer::hopCount be used? See also HopCountType. |
| ack | Did we want a DataLinkLayer acknowledgement? See AckType. |
Definition at line 446 of file transport_layer.cpp.
| void TransportLayer::dataIndividualConfirm | ( | AckType | ack, |
| uint16_t | destination, | ||
| HopCountType | hopType, | ||
| Priority | priority, | ||
| TPDU & | tpdu, | ||
| bool | status | ||
| ) |
| void TransportLayer::dataIndividualIndication | ( | uint16_t | destination, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| uint16_t | source, | ||
| TPDU & | tpdu | ||
| ) |
| void TransportLayer::dataIndividualRequest | ( | AckType | ack, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| uint16_t | destination, | ||
| APDU & | apdu | ||
| ) |
Definition at line 468 of file transport_layer.cpp.
| void TransportLayer::dataSystemBroadcastConfirm | ( | AckType | ack, |
| HopCountType | hopType, | ||
| TPDU & | tpdu, | ||
| Priority | priority, | ||
| bool | status | ||
| ) |
| void TransportLayer::dataSystemBroadcastIndication | ( | HopCountType | hopType, |
| Priority | priority, | ||
| uint16_t | source, | ||
| TPDU & | tpdu | ||
| ) |
| void TransportLayer::dataSystemBroadcastRequest | ( | AckType | ack, |
| HopCountType | hopType, | ||
| Priority | priority, | ||
| APDU & | apdu | ||
| ) |
Definition at line 462 of file transport_layer.cpp.
| void TransportLayer::disconnectRequest | ( | uint16_t | tsap, |
| Priority | priority | ||
| ) |
| uint16_t TransportLayer::getConnectionAddress | ( | ) |
| uint8_t TransportLayer::getTpciSeqNum | ( | ) |
Definition at line 595 of file transport_layer.cpp.
| void TransportLayer::groupAddressTable | ( | AddressTableObject & | addrTable | ) |
| void TransportLayer::loop | ( | ) |
Definition at line 608 of file transport_layer.cpp.
| void TransportLayer::networkLayer | ( | NetworkLayer & | layer | ) |