Can Tp Utils Module

class mtf.network_port.iso_tp.custom_can_tp.can_tp_utils.CanFrameType

An enumeration.

SINGLE
FIRST
CONSECUTIVE
FLOW_CONTROL
UNKNOWN
classmethod get_frame_type(addressing_format: AddrFormat, payload: List[int]) CanFrameType
class mtf.network_port.iso_tp.custom_can_tp.can_tp_utils.CanFlowStatus

An enumeration.

CLS
WAIT
OVFLW
class mtf.network_port.iso_tp.custom_can_tp.can_tp_utils.CanFCConfig

CanFCConfig(flow_status: mtf.network_port.iso_tp.custom_can_tp.can_tp_utils.CanFlowStatus = <CanFlowStatus.CLS: 48>, block_size: int = 0, separation_time: int = 0)

flow_status: CanFlowStatus
block_size: int
separation_time: int
__init__(flow_status: CanFlowStatus = CanFlowStatus.CLS, block_size: int = 0, separation_time: int = 0) None
mtf.network_port.iso_tp.custom_can_tp.can_tp_utils.get_payload_length(pdu_size)