Innovate-motorsports OT-2 SDK Manual de usuario Pagina 50

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 76
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 75 76

Comentarios a estos manuales

Sin comentarios