ComNetwork

class mtf.network_port.com_network.ComNetwork

Initializes a communication network by calling an external function create_mtf_com_network() during the object’s initialization

__init__()
start_communication(ecu_interface: ECUInterface = ECUInterface.ALL, excluded_ecus: set[str] | None = None) bool

start, depending on the chosen interface + excluded ECUs list, cyclic frames, NPDUs and SomeIP provided notifications transmission and subscribe to SomeIP consumed notifications taking into consideration the configured connected ECUs

stop_communication(ecu_interface: ECUInterface = ECUInterface.ALL, excluded_ecus: set[str] | None = None) bool

stop, depending on the chosen interface + excluded ECUs list cyclic frames, NPDUs and SomeIP provided notifications transmission and subscribe to SomeIP consumed notifications taking into consideration the configured connected ECUs