LinTransmitter
- class mtf.network_port.bus_transmitter.LinTransmitter
- transmitter = <mtf.libs.mtf_pybinder.mtf_lin_transmitter object>
- classmethod transmit_frame(channel_name: str, frame_id: int, payload: List)
Abstract method that transmits a frame.
- Raises:
NotImplementedError: This method must be implemented by a subclass.
- classmethod wake_up_lin_bus(channel_name: str)
Wakes up the LIN bus on the associated channel (Async Wake up sending). args:
channel_name (str)
- Returns:
bool: True if the LIN bus wakes up successfully, False otherwise.
- classmethod get_state(channel_name: str)
get the LIN bus state on the associated channel. args:
channel_name (str)
- Returns:
- EnumInit
Operational : node is awake Sleep : node in sleep mode