Iso Tp Utils Module

class mtf.network_port.iso_tp.iso_tp_utils.AddrFormat

An enumeration.

NORMAL
EXTENDED
class mtf.network_port.iso_tp.iso_tp_utils.IsoTpConfig

IsoTpConfig(rx_id: str, tx_id: str, channel_name: str, pdu_length: int, protocol: str, source_adr: int = 0, target_adr: int = 0, flow_timeout: int = 1, padding_value: int = 255, is_padding_activated: bool = True)

rx_id: str
tx_id: str
channel_name: str
pdu_length: int
protocol: str
source_adr: int
target_adr: int
flow_timeout: int
padding_value: int
is_padding_activated: bool
__init__(rx_id: str, tx_id: str, channel_name: str, pdu_length: int, protocol: str, source_adr: int = 0, target_adr: int = 0, flow_timeout: int = 1, padding_value: int = 255, is_padding_activated: bool = True) None
mtf.network_port.iso_tp.iso_tp_utils.int_to_big_endian_list(n: int, length: int)

Convert an integer to a big-endian byte list of the specified length.

mtf.network_port.iso_tp.iso_tp_utils.big_endian_list_to_int(byte_list)

Convert a big-endian byte list to an integer.