Innovate-motorsports OT-2 SDK Uživatelský manuál Strana 25

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 76
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 24
25
Command ‘k’ Get OBD-II Diagnostic Trouble Codes (DTCs)
Sent: 1 byte
{
U8 Cmd; // ‘k’
}
Responds: 33 bytes
{
U8 Count; // Number of DTCs returned, or
// 0xFF for none
U16 DTCs[16]; // DTCs
}
Notes: This list should be open ended, but is fixed at 16 max for
legacy reasons (compatibility with the original OT-1). The
DTCs are in their original J1979 format.
Command ‘K’ Clear All OBD-II Diagnostic Trouble Codes (DTCs)
Sent: 1 byte
{
U8 Cmd; // ‘K’
}
Responds: 1 byte
{
U8 Result; // 1=success, 0=failure
}
Notes: It should be noted that ‘success’ only means that the
request has been submitted to the ECU. Rather or not the
codes were, in fact, all cleared is something you have to
ask the ECU (see ‘k’ above).
Zobrazit stránku 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 75 76

Komentáře k této Příručce

Žádné komentáře