Command ‘b’ – get last mts packet passed, Command ‘s’ – exit expert mode, Command 0xff – don’t hang up on me – Innovate Motorsports OT-2 SDK User Manual
Page 62
62
Command ‘b’ – Get Last MTS Packet passed
Sent:
1 bytes
{
U8 Cmd;
// ‘b’
}
Responds:
Variable (2 bytes minimum)
{
U8 Len;
// Length of data to follow
U8 Sequence;
// Sequence Counter, incremented
// each time an MTS packet is
// passed
// Optional
{
U8 Packet[Len-1]; // MTS Packet (if any)
}
}
Notes:
If there is no MTS hardware attacked, you will
get ‘0x01 0x00’ (1 byte, sequence 0). Otherwise, you will
get a changing sequence, followed by a raw MTS packet.
Command ‘s’ – Exit Expert Mode
Sent:
1 byte
{
U8 Cmd;
// ‘s’
}
Responds:
None
Notes:
This command returns you to Setup Mode.
Command 0xFF – Don’t hang up on me!
Sent:
1 bytes
{
U8 Cmd;
// 0xFF
}
Responds:
1 byte
{
U8 Result;
// should be 0xFF
}
Notes:
This command merely gives you a way to thwart the Expert
Mode watchdog timer. In general, you should avoid even
needing it. But, here it is, just in case…