Switch Mode

Switch the mode of the target ecu.

Arguments Description

**target_mode str: ExamplePLANT
PLANT = 0x000000 |
ENGINEERING = 0x000001 |
FIELD = 0x000002 |
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

PLANT = 0x000000 ENGINEERING = 0x000001 FIELD = 0x000002

Example

${res}= Switch Mode ENGINEERING