Class TransportLayer¶
Defined in File transport_layer.h
Class Documentation¶
-
class TransportLayer¶
Public 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.
See 3.2 of [1]. See also ApplicationLayer::dataGroupConfirm and ApplicationLayer::dataGroupIndication. This method is called by the ApplicationLayer.
- Parameters
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.
-
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)¶
-
uint8_t getTpciSeqNum()¶
-
uint16_t getConnectionAddress()¶
-
void connectionTimeoutIndication()¶
-
void ackTimeoutIndication()¶
-
void loop()¶
-
TransportLayer(ApplicationLayer &layer)¶