beautypg.com

Command ‘s’ - get setup mode header, Command ‘s’ – exit setup mode – Innovate Motorsports OT-2 SDK User Manual

Page 23

background image

23

Command ‘S’ - Get Setup Mode Header

Sent:

1 byte
{

U8 Cmd;

// ‘S’

}


Responds:

15 bytes
{

U8 VersionH;

// Firmware version MSB

U8 VersionL;

// Firmware version LSB

U8 Identifier[4]; // Unique identifier

U8 Reserved[9];

// Don’t ask!

}


Notes:

This is exactly the same response you receive automatically
when you entered the mode.

Command ‘s’ – Exit Setup Mode

Sent:

1 byte
{

U8 Cmd;

// ‘s’

}


Responds:

None


Notes:

This command returns you to in-band mode, and disables the
watchdog timer.