Check Perform Switch Mode

Switch the mode of the target ecu.

Arguments Description

**target_mode str: Example : PLANT

perform_switch_mode bool: True if perform switch mode is set to true else False

dut_name (str): connection name like specified in diag manager config (json file)

by default, it uses the first connection in the diag config**

Returns

bool: True if switch mode will be performed; otherwise, False.

Example

${res}= Check Perform Switch Mode ${Default_Ecu_Mode} ${Perform_Switch_Mode} ${target_connections}[0]