Command ‘c’ – set device configuration – Innovate Motorsports OT-2 SDK User Manual
Page 28
28
Command ‘C’ – Set Device Configuration
Sent:
37 bytes
{
U8 Cmd;
// ‘C’
U8 Channels;
// Number of channels (16 max)
U8 Protocol;
// OBD-II protocol
// 0 = automatic
// 1 = can
// 2 = pwm
// 3 = vpw
// 4 = kwp
// 5 = iso
U16 NormPid[16]; // Table of ‘normalized’ PIDs
// to scan
U16 Flags;
// Priority flags
}
Responds:
1 byte
{
U8 Result;
// Should always be 0xD
}
Notes:
This writes a new configuration in the device’s flash
memory (see ‘c’ above). WE STRONGLY RECOMMEND NOT USING
THIS COMMAND UNLESS ABSOLUTELY NECESSARY!!! Instead,
consider using the ‘M’ command (see below), which will
temporarily change the configuration (the original
configuration is restored when your connection to the unit
is terminated).