Innovate-motorsports OT-2 SDK Manual do Utilizador Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 28
29
Command ‘M’ Set ‘My’ (temporary) Device Configuration
Sent: 37 bytes
{
U8 Cmd; // ‘M’
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 has alters the device configuration (see ‘c’ above),
just like the ‘C’ command (see above). The difference is
that it does not alter the settings permanently, but only
for the duration of the current USB or Wi-Fi connection to
the device. This lets applications do whatever they want,
but then settings return automatically to the user’s
programmed preferences when you exit/disconnect. WE
STRONGLY RECOMMEND USING THIS COMMAND INSTEAD OF ‘C’ UNLESS
ABSOLUTELY NECESSARY!!!
Command ‘m’ Clear ‘My’ (temporary) Device Configuration
Sent: 1 byte
{
U8 Cmd; // ‘m’
}
Responds: 1 byte
{
U8 Result; // should always be 0xD
}
Notes: This restores the current device settings (see ‘c’ above)
to those stored in flash memory (see ‘C’ above). This
happens automatically when a connection is terminated.
Vista de página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 75 76

Comentários a estes Manuais

Sem comentários