Innovate-motorsports OT-2 SDK Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 76
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
30
Command ‘w’ Get Wi-Fi Settings
Sent: 1 byte
{
U8 Cmd; // ‘w’
}
Responds: 16 bytes
{
U8 HWAddr[6]; // MAC Address
U32 IPAddr; // IP Address (in NETWORK ORDER!)
U32 IPMask; // IP Mask (in NETWORK ORDER!)
}
Notes: On an OT-1B, this will return all zeros.
Command ‘e’ Enter an Expert Mode
Sent: 2 bytes
{
U8 Cmd; // ‘e’
U8 Mode; // 1 = can
// 2 = j1850
// 3 = iso
// 4 = iso raw
}
Responds: 1 byte
{
U8 Result; // Should match ‘Mode’ requested
}
Notes: Expert Modes are ‘sub modes’ to Setup Mode. Because they
allow you to perform very low level OBD-II operations, you
have to pick the mode that matches your desired electrical
protocol. You would use 1 for all can modes (std, ext.), 2
for j1850 (pwm or vpw), and 3 for K line based standards
(iso 9141 or kwp2000). Mode 4 is for vendor specific K line
based protocols (ex. MUT, SSM, etc.) One important note is
that this command can, potentially, take a LONG time to
respond. See the section on Expert Mode for more details.
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 75 76

Komentarze do niniejszej Instrukcji

Brak uwag