beautypg.com

Innovate Motorsports OT-2 SDK User Manual

Page 2

background image

2

Table of Contents

Revision History:.................................................................................................................5
Introduction .........................................................................................................................6

SDK Scope ......................................................................................................................6
Prerequisites ....................................................................................................................8

MTS Basics (or “Serial 2 revisited”)...................................................................................9

Basic Scheme ..................................................................................................................9
Packets in General .........................................................................................................13
Data Packets ..................................................................................................................14

Aux Channels ............................................................................................................14
‘New’ Lambda/AFR Channels..................................................................................15
‘Old’ (LM-1) Lambda/AFR Channels ......................................................................16

Response Packets ..........................................................................................................17
Commands.....................................................................................................................19

Get to the Good Stuff! .......................................................................................................20

Setup Mode....................................................................................................................20
Setup Mode Commands ................................................................................................22

Command ‘S’ - Get Setup Mode Header ..................................................................23
Command ‘s’ – Exit Setup Mode ..............................................................................23
Command ‘j’ – Get OBD-II Connection Status ........................................................24
Command ‘a’ – Check availability of a ‘normalized’ PID .......................................24
Command ‘k’ – Get OBD-II Diagnostic Trouble Codes (DTCs) .............................25
Command ‘K’ – Clear All OBD-II Diagnostic Trouble Codes (DTCs) ...................25
Command ‘l’ – Get Last OBD-II Loop Time............................................................26
Command ‘v’ – Get Vehicle VIN number ................................................................26
Command ‘t’ – Get Basic Emissions Status..............................................................27
Command ‘c’ – Get Device Configuration ...............................................................27
Command ‘C’ – Set Device Configuration ...............................................................28
Command ‘M’ – Set ‘My’ (temporary) Device Configuration.................................29
Command ‘m’ – Clear ‘My’ (temporary) Device Configuration..............................29
Command ‘w’ – Get Wi-Fi Settings..........................................................................30
Command ‘e’ – Enter an Expert Mode .....................................................................30
Command 0xFF – Don’t hang up on me!..................................................................31

Understanding OT-1b/2 Device Configuration.................................................................32
Benefits of In Band Mode .................................................................................................35

Expert Modes ................................................................................................................36
Overview .......................................................................................................................36
Special Considerations Entering Expert Modes............................................................38
Can.................................................................................................................................39

Command ‘R’ – Set the Protocol Rate ......................................................................39
Command ‘r’ – Get the Protocol Rate.......................................................................40
Command ‘F’ – Add a Pass Filter .............................................................................40
Command ‘f’ – Clear all Pass Filters ........................................................................41
Command ‘E’ – Add a Handshake Filter ..................................................................41
Command ‘e’ – Clear all Handshake Filters .............................................................42