Mtf Module

mtf.load_test_features_dependencies(path, extension)
mtf.mtf_core_version()
mtf.get_pyapi_git_commit_version()
mtf.mtf_binder_instance_exists()
mtf.create_mtf_binder(force=False) mtf_binder
mtf.get_mtf_binder() mtf_binder
class mtf.logger_
classmethod adapt_to_mtf(origional: str)
classmethod adapt_signature(args: list, kwargs: dict)
classmethod trace(*args, **kwargs)
classmethod debug(*args, **kwargs)
classmethod info(*args, **kwargs)
classmethod warn(*args, **kwargs)
classmethod warning(*args, **kwargs)
classmethod error(*args, **kwargs)
classmethod critical(*args, **kwargs)
classmethod set_high_level_callback(callback, *args, **kwargs)
mtf.get_mtf_logger() logger
mtf.get_mtf_power_supply() power_supply
mtf.get_mtf_busses() mtf_busses
mtf.get_mtf_log_level() mtf_log_level
mtf.create_someip_sd_listner(channel) mtf_someipsd_listener
mtf.create_can_frame_listener(channel, frame_id) mtf_can_frame_listener
mtf.create_can_bus_listener(channel: str) mtf_can_bus_listener
mtf.create_flexray_frame_listener(channel, frame_id) mtf_flexray_frame_listener
mtf.create_flexray_bus_listener(channel: str) mtf_flexray_bus_listener
mtf.create_flexray_transmitter()
mtf.create_flexray_frame(frame_id: str, payload: List, communication_channel: int, transmission_mode: int)
mtf.create_lin_frame_listener(channel, frame_id) mtf_lin_frame_listener
mtf.create_lin_bus_listener(channel: str) mtf_lin_bus_listener
mtf.create_lin_frame(frame_id: int, payload: List)
mtf.create_io_listener(channel: str) mtf_io_listener
mtf.create_can_frame(frame_id: int, payload: List, flag=0)
mtf.create_can_fd_frame(frame_id: int, payload: List, flag=0)
mtf.create_npdu_frame_with_length(pdu_id: int, length: int, payload: List)

Create an NPDU frame with length.

Args:

pdu_id (int): frame identifier length (int): pdu frame length payload (FramePayload): pdu frame payload

Returns:

mtf_npdu_element: mtf npduelement instance

mtf.create_can_transmitter()
mtf.create_lin_transmitter()
mtf.create_ethernet_transmitter()
mtf.create_serial_transmitter()
mtf.create_test_config()
mtf.create_test_serie_config()
mtf.create_diag_connection(source_address: int, dest_address: int, destination_ip: str = 'Auto')
mtf.create_npdu_frame(pdu_id: int, payload: List)
mtf.create_can_tp_controller(channel_name: str, rx_frame_id: int, tx_frame_id: int, source_address: int, target_address: int)
mtf.create_npdu_can_tp_controller(sender_npdu_id: MtfNpduCanTpId, receiver_npdu_id: MtfNpduCanTpId)
mtf.create_npdu_can_tp_id(tunnel_name: str, npdu_id: int, target_address: int | None = None)
mtf.create_flexray_tp_controller(channel_name: str, tx_slot_id: int, tx_offset: int, tx_repetition: int, source_address: int, rx_slot_id: int, rx_offset: int, rx_repetition: int, target_address: int, pdu_length: int, flow_timeout: int)
mtf.create_lin_tp_controller(channel_name: str, nad: int)
mtf.create_tunnel_controller(channel_name: str)
mtf.get_lib_path()
mtf.create_mtf_com_network()
mtf.create_mtf_burst() mtf_burst
mtf.create_burst_can_frame(frame_id: int, payload: List, is_can_fd_frame: bool, data_flags=0) burst_can_frame
class mtf.UdpNmSignals

An enumeration.