J1939 Module

J1939 protocol

class mtf.libs.mtf_pybinder.j1939.J1939FrameID
__init__(self: mtf.libs.mtf_pybinder.j1939.J1939FrameID, priority: int, pgn: int, source_address: int) None
__new__(**kwargs)
property data_page
property destination_address
property is_pdu1_format
property is_pdu2_format
property pdu_format
property pdu_specific
property pgn
property priority
property reserved
property source_address
mtf.libs.mtf_pybinder.j1939.create_j1939_frame_id(priority: int, pgn: int, source_address: int) mtf.libs.mtf_pybinder.j1939.J1939FrameID

Create a J1939 frame ID from its constituent fields

mtf.libs.mtf_pybinder.j1939.decode_j1939_frame_id(frame_id: int) mtf.libs.mtf_pybinder.j1939.J1939FrameID

Decode a 29-bit CAN identifier into a J1939FrameID

mtf.libs.mtf_pybinder.j1939.encode_j1939_frame_id(j1939_frame_id: mtf.libs.mtf_pybinder.j1939.J1939FrameID) int

Encode a J1939FrameID into a 29-bit CAN identifier (FrameID)