Start Filtered Ethernet Listener

Starts the ethernet bus listener over the given channel, and using the filter

Arguments Description

channel_name (str): The ethernet channel name.

eth_filter (mtf_eth_filter): The ethernet filter. Created using Generate Ethernet Fileter.

keep_cache (boolean, Optional): True when you need to save the previous cache of received packets.

Default to True

silent_mode (boolean, optional): Flag to choose the listening mode. Default to True

When silent_mode = False, both the MTF-Pyapi and MTF-Core callbacks will work. Else When silent_mode = True, only the MTF-Core callback will be activated.

Returns

bool: True when the listener has started.

Example

${eth_filter}= Generate Ethernet Fileter ${dict_eth_fitler}
${start_listen}= Start Filtered Ethernet Listener ${channel_name} ${eth_filter}

Note

You Should create the ethernet fileter using Generate Ethernet Fileter.