Command ‘0’ – send a 00h at 5 baud on the k line, Command ‘l’ – set the vehicle led state – Innovate Motorsports OT-2 SDK User Manual

Page 61

Advertising
background image

61

Command ‘0’ – Send a 00h at 5 baud on the K line

Sent:

1 byte
{

U8 Cmd;

// ‘0’

}


Responds:

1 byte
{

U8 Result;

// always 1

}


Notes:

The description says it all. This command, combined with
the weird 15625 baud rate is nec. to communicate with an
ECU via MUT.

Command ‘L’ – Set the Vehicle LED State

Sent:

2 bytes
{

U8 Cmd;

// ‘L’

U8 State;

// 0 = off
// 1 = on

}


Responds:

1 byte
{

U8 Result;

// Should match ‘State’ requested

}


Notes:

Because we have conditioned the user to expect the vehicle
light to light or blink, you might want to follow the same
model. You may also find this useful for debugging.

Advertising