Fr Tp Frames Module

class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.BaseFrame
TGT_ADDR_OFFSET
SRC_ADDR_OFFSET
PCI_OFFSET
__init__(source_address: int, target_address: int, pci_type: FrPciType) None
abstract to_payload() List[int]
abstract from_payload(payload: List[int]) bool
property address_information
property source_address
property target_address
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
classmethod get_pci_type(payload: List[int])
parse_address_information(payload: List[int]) bool
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.StartFrame
PCI_SIZE
FPL_OFFSET
LENGTH_OFFSET
PAYLOAD_OFFSET
__init__(source_address: int = 0, target_address: int = 0, acknowledge: SfAckValues = 0, message_length: int = 0, payload: List[int] = []) None
to_payload() List[int]
from_payload(payload: List[int]) bool
property message_length
property acknowledge
property payload_data
property frame_payload_length
classmethod max_payload_length(pdu_length: int)
PCI_OFFSET
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property address_information
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.LastFrame
PCI_SIZE
FPL_OFFSET
LENGTH_OFFSET
PAYLOAD_OFFSET
__init__(source_address: int = 0, target_address: int = 0, message_length: int = 0, payload: List[int] = []) None
to_payload() List[int]
from_payload(payload: List[int]) bool
property Frame_Payload_Length
property Message_Length
property Payload_Data
classmethod max_payload_length(pdu_length: int)
PCI_OFFSET
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property address_information
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.ConsecutiveFrame
PCI_SIZE
FPL_OFFSET
PAYLOAD_OFFSET
__init__(source_address: int = 0, target_address: int = 0, sequence_number: int = 0, payload: List[int] = [], pci_type=FrPciType.CONSECUTIVE_FRAME_1) None
to_payload() List[int]
from_payload(payload: List[int]) bool
property sequence_number
property payload_data
property frame_payload_length
classmethod next_sequence_number(sequence_number: int) int
classmethod max_payload_length(pdu_length: int)
PCI_OFFSET
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property address_information
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.FlowControl
PCI_SIZE_CTS
PCI_SIZE_ACK_RET
BC_OFFSET
BFS_OFFSET
ACKNOWLEDGE_OFFSET
BYTE_POSITION_OFFSET
__init__(source_address: int = 0, target_address: int = 0, flow_status: FrFlowStatus = FrFlowStatus.CTS) None
to_payload() List[int]
from_payload(payload: List[int]) bool
property flow_status
property bandwidth_control
property buffer_size
property acknowledge
property byte_position
PCI_OFFSET
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property address_information
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.CTSFlowControl
__init__(source_address: int = 0, target_address: int = 0, bandwidth_control: int = 0, buffer_size: int = 0)
ACKNOWLEDGE_OFFSET
BC_OFFSET
BFS_OFFSET
BYTE_POSITION_OFFSET
PCI_OFFSET
PCI_SIZE_ACK_RET
PCI_SIZE_CTS
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property acknowledge
property address_information
property bandwidth_control
property buffer_size
property byte_position
property flow_status
from_payload(payload: List[int]) bool
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
to_payload() List[int]
class mtf.network_port.iso_tp.custom_fr_tp.fr_tp_frames.AckRetFlowControl
__init__(source_address: int = 0, target_address: int = 0, acknowledge: SfAckValues = 0, byte_position: int = 0)
ACKNOWLEDGE_OFFSET
BC_OFFSET
BFS_OFFSET
BYTE_POSITION_OFFSET
PCI_OFFSET
PCI_SIZE_ACK_RET
PCI_SIZE_CTS
SRC_ADDR_OFFSET
TGT_ADDR_OFFSET
property acknowledge
property address_information
property bandwidth_control
property buffer_size
property byte_position
property flow_status
from_payload(payload: List[int]) bool
classmethod get_pci_type(payload: List[int])
classmethod get_source_address(payload: List[int]) Tuple[bool, int]
classmethod get_target_address(payload: List[int]) Tuple[bool, int]
parse_address_information(payload: List[int]) bool
property source_address
property target_address
to_payload() List[int]