Innovate-motorsports OT-2 SDK Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 76
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
27
Command ‘t’ Get Basic Emissions Status
Sent: 1 byte
{
U8 Cmd; // ‘t’
}
Responds: 5 bytes
{
U8 Count; // char count (norm. 4)
// or 0xFF for failure
U32 Status; // This is simply the 4 bytes
// from Mode 1, PID 1
}
Notes: This PID (mode 1 pid 1) just gives a simple overview of the
emissions tests and their current status. Of interest if
you live in California.
Command ‘c’ Get Device Configuration
Sent: 1 byte
{
U8 Cmd; // ‘c’
}
Responds: 36 bytes
{
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
}
Notes: This controls how the ECU is connected to, what channels
are scanned and put in MTS data packets, and how the values
are scanned. It should be noted that these are not ECU
pids, but abstracted, or ‘normalized’ PIDs. This is to
accommodate the limits of 10 bit channels, etc. in MTS. See
the separate section on understanding this configuration
for more information.
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 75 76

Commentaires sur ces manuels

Pas de commentaire