FlexrayTransmitter

class mtf.network_port.bus_transmitter.FlexrayTransmitter
transmitter = <mtf.libs.mtf_pybinder.mtf_flexray_transmitter object>
classmethod transmit_frame(channel_name: str, frame_id: str, payload: ~typing.List, communication_channel: ~mtf.enum_types.FRCommunicationChannel = <FRCommunicationChannel.A: 0>, transmission_mode: ~mtf.enum_types.TransmissionMode = TransmissionMode.SingleShot)

Abstract method that transmits a frame.

Raises:

NotImplementedError: This method must be implemented by a subclass.

classmethod stop_transmit(channel_name: str, frame_id: str | int, communication_channel: ~mtf.enum_types.FRCommunicationChannel = <FRCommunicationChannel.A: 0>)
classmethod activate_wake_up(channel_name: str, do_wake_up: bool)

Activate wake up for a given channel args:

channel_name (str): The channel name do_wake_up (bool) Whether to wake up the FLEXRAY bus when the bus sleeps automatically

Returns:

bool: True if the FLEXRAY bus wakes up successfully, False otherwise.