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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 49
50
ISO
The general flow with ISO Expert Mode (‘e’<3>), is:
1. Select a protocol (ISO 9141 or KWP 2000)
2. Setup filters for the messages you are interested in
3. Output some bytes and (optionally) wait for a designated number of response
bytes
The export mode commands to accomplish these tasks are:
Command ‘R’ Set the Protocol Rate
Sent: 2 bytes
{
U8 Cmd; // ‘R’
U8 Rate; // 1=ISO 9141
// 2=KWP 2000
}
Responds: 1 byte
{
U8 Result; // Should match ‘Rate’ requested
}
Notes: Default is ISO 9141.
Command ‘r’ Get the Protocol Rate
Sent: 1 byte
{
U8 Cmd; // ‘r’
}
Responds: 1 byte
{
U8 Result; // Current rate
// 1=ISO 9141
// 2=KWP 2000
}
Notes: The default rate when you enter this Expert Mode is ISO
9141.
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 75 76

Comentários a estes Manuais

Sem comentários