NmController

class mtf.network_port.nm_controller.NmController

Network Management controller

__init__(node_id: int, bus_name: str, bus_type: BusType, cycle: float, frame_id: int)
start_send_cyclic_nm()

Start sending NM message cyclically.

stop_send_cyclic_nm()

Stop sending NM message cyclically

set_basic_nm(val: List[int])

Basic NM signal setter

Args:

val (List[int]): Basic NM signal value.

set_fktn(val: List[int])

Set Functional NM signal

Args:

val (List[int]): Functional NM signal value.

set_cbv(val: int)

Set Control Bit Vector signal

Args:

val (int): Control Bit Vector singal value.

nm_thread_function_()

Network Management transmition thread.

build_nm_payload_()

Create an NM payload.

Returns:

List[int]: Network Management payload

build_user_data_()

Create the user data for NM.

Returns:

List[int]: user data for NM