ICanTpConnection

Summary

Represents a CAN-TP Connection

Properties

Structure

class ICanTpConnection
addressing_format

The communication addressing mode of the CAN-TP Connection.

Type

AddressingFormat

data_pdu

The data N-PDU

Type

IPduType

flow_control_pdu

The Flow Control N-Pdu.

Type

IPduType

max_block_size
The maximum number of N-PDUs the CAN-TP receiver allows the sender to send,

before waiting for an authorization to continue transmission of the following N-PDUs.

Type

int32 or None

multicast_address

TP address for one-to-many connections.

Type

TpAddress

name

The name of the TP Connection.

Type

str

padding_activation
True if SFs (Single Frames), FC (Flow Control) N-PDUs and the last CF (Consecutive Frame) N-PDU

shall be padded to eight bytes length in case it contains less payload, False otherwise.

Type

bool

receivers

The target of the TP connection.

Type

IEnumerable[ITpNode]

segmented_pdu

The I-Pdu that is segmented by the Transport Protocol.

Type

IPduType

ta_type

The Network Target Address type.

Type

TargetType

timeout_br
Value, in seconds, of the performance requirement for (N_Br + N_Ar).

N_Br is the elapsed time between the receiving indication of a FF (First Frame) or CF or the transmit confirmation of a FC, until the transmit request of the next FC. N_Ar is the time for transmission of a CAN frame (any N_PDU) on the receiver side.

Type

decimal or None

timeout_bs

Defines the timeout, in seconds, for waiting for a FC (Flow Control) or AF (Acknowledgment Frame) on the sender side in an 1:1 connection.

Type

decimal or None

timeout_cr

Defines the timeout, in seconds, for waiting for a CF or FF-x (in case of retry) after receiving the last CF or after sending a FC or AF on the receiver side.

Type

decimal or None

timeout_cs

Defines the time, in seconds, which elapses between the transmit request of a CF N-PDU until the transmit request of the next CF N-PDU.

Type

decimal or None

transmitter

The source of the TP connection

Type

ITpNode

uuid

The UUID of the TP Connection or the path to the TP Connection if no UUID is defined.

Type

str