Iso raw, Command ‘r’ – set the protocol rate, Command ‘r’ – get the protocol rate – Innovate Motorsports OT-2 SDK User Manual
Page 57
57
ISO Raw
The general flow with ISO Raw Expert Mode (‘e’<4>), is:
1. Select a baud rate
2. Output bytes and optionally receive bytes
ISO Raw mode is different in that there is no understanding of packets or filters. It is
intended for cases where less conventional ISO 9141/KWP 2000 packets/communication
are being used or for alternate vehicle protocols, like MUT and SSM. The export mode
commands to accomplish these tasks are:
Command ‘R’ – Set the Protocol Rate
Sent:
2 bytes
{
U8 Cmd;
// ‘R’
U8 Rate;
// 1=19200
// 2=15625
// 3=10400
// 4=9600
// 5=4800
}
Responds:
1 byte
{
U8 Result;
// Should match ‘Rate’ requested
}
Notes:
ISO has a default rate of 10400 (3), which is correct for
ISO 9141 and KWP2000.
Command ‘r’ – Get the Protocol Rate
Sent:
1 byte
{
U8 Cmd;
// ‘r’
}
Responds:
1 byte
{
U8 Result;
// Current rate
// 1=19200
// 2=15625
// 3=10400
// 4=9600
// 5=4800
}
Notes:
The default rate when you enter this Expert Mode is 10400.