The Complete Reference to OBD-II, UDS, CAN, DoIP & Future Vehicle Diagnostics (1996 to 2030+)
A comprehensive engineering and regulatory handbook from the team behind EvmetricsOBD: covering the SAE J1962 connector, CAN and Ethernet vehicle networks, SAE J1979 and ISO 14229 UDS protocols, ELM327 and STN adapter silicon, electric vehicle high-voltage battery telemetry, SAE J1979-2 (OBDonUDS), SAE J1979-3 (ZEVonUDS), ISO 13400 DoIP, Secure Gateways, and US, EU, and UK rules through 2030.
The Evolution of On-Board Diagnostics (1996 to 2030+)
Every modern passenger car carries dozens of embedded microcontrollers called Electronic Control Units (ECUs) managing traction motors, high-voltage batteries, thermal pumps, braking, steering, airbags, and cabin comfort. The small trapezoidal 16-pin socket under the dashboard (defined by SAE J1962) became the universal window into those computers almost by accident: it began as an air-quality enforcement tool.
OBD-II became mandatory for light-duty vehicles sold in the United States from the 1996 model year. Europe adopted its equivalent, EOBD, for petrol cars from 2001 and diesels from 2004, while Controller Area Network (ISO 15765-4 CAN) became compulsory across all US vehicles from 2008. The original statutory purpose was narrow: monitor exhaust emissions systems (catalysts, oxygen sensors, evaporative controls, misfires), illuminate the Malfunction Indicator Lamp (MIL), and expose standardised fault codes and live parameters to inspection stations and independent mechanics.
Because battery electric vehicles (BEVs) have no tailpipe, legacy emissions laws never forced electric cars to expose battery telemetry through an OBD-II socket. That is why early Tesla vehicles omitted an open CAN bus at a standard J1962 socket and relied on proprietary service connectors behind the centre console. Yet between 2026 and 2030, three parallel shifts are transforming the port rather than killing it:
Generic OBD Moves onto UDS
California's CARB rules retire 30-year-old SAE J1979 modes in favour of SAE J1979-2 (OBDonUDS) for combustion vehicles and SAE J1979-3 (ZEVonUDS) for electric vehicles, introducing standardised EV battery State of Health and charge-rate identifiers over the existing CAN port.
Firewalls & Legal Boundaries
Vehicle cybersecurity rules (UN R155 / R156 and Euro 7 anti-tampering) push automakers to place Secure Gateways (SGW) behind the port. In the EU, Delegated Regulation 2026/699 (Appendix 4) defines where authentication is lawful and explicitly exempts DTC reads, VIN reads, and universal OBD scanners.
Ethernet (DoIP) & Off-Board APIs
New vehicle architectures place 100 Mbps DoIP Ethernet (ISO 13400) on spare pins of the J1962 connector (including Tesla Model 3/Y built from April 2024, newer JLR, BMW, Porsche Taycan, and Geely SPA2), while the EU Data Act opens a parallel manufacturer-provided backend channel for owners.
This handbook combines public engineering standards (SAE, ISO, UNECE, COVESA, AOSP), enacted and pending US/EU/UK legislation, and practical diagnostic research from building EvmetricsOBD. Where a specification comes from paywalled industry standards or evolving regulatory proceedings (such as pending US court litigation on California's ACC II waiver or unissued EU delegated acts), we state those boundaries plainly. For vehicle-specific validation status inside EvmetricsOBD itself, see the Vehicle Compatibility Matrix and ECU Database (validated on real Jaguar I-Pace, JLR ICE/D7/MLA, and Generic OBD-II vehicles, with unvalidated templates labelled separately).
The SAE J1962 16-Pin OBD-II Connector & Pinout Explorer
The SAE J1962 (ISO 15031-3) Type A 12V diagnostic connector is a 16-pin female socket mounted within the driver's footwell or dashboard zone. Nine pins have historically standardised roles (power, grounds, CAN, K/L-line, J1850), while seven pins are labelled OEM discretionary. Automakers repurpose those discretionary pins for secondary CAN buses (MS-CAN, SW-CAN) and, on modern architectures, 100BASE-TX Automotive Ethernet (DoIP).
Click or focus any pin (1 to 16) to inspect its electrical function across standards.
ISO 15765-4 CAN High (HS-CAN+)
Primary high-speed Controller Area Network differential high line (typically 500 kbaud). Paired with Pin 14 (CAN Low). Mandatory on all US light-duty vehicles from MY2008 onward and the primary diagnostic channel for almost every modern EV and ICE powertrain.
| Pin | Standard OBD-II / EOBD Role | Multi-Bus / OEM Use | DoIP Ethernet (ISO 13400 Option 1) |
|---|---|---|---|
| Pin 1 | OEM Discretionary | Single-Wire CAN (GM SW-CAN, 33.3 kbaud) or Ignition Sense | Not used in Option 1 (Option 2 varies by OEM) |
| Pin 2 | SAE J1850 Bus+ (PWM / VPW) | Legacy Ford PWM (41.6 kbaud) and GM/Chrysler VPW (10.4 kbaud) | Unchanged / unused on Ethernet-only links |
| Pin 3 | OEM Discretionary | MS-CAN High (250 / 125 kbaud on Ford, Mazda, JLR) | Ethernet RX+ (100BASE-TX twisted pair with Pin 11) |
| Pin 4 | Chassis Ground | Vehicle chassis earth | Common Chassis Ground |
| Pin 5 | Signal Ground | Reference ground for diagnostic transceivers | Signal Ground (also reference for Pin 8 sense resistance) |
| Pin 6 | CAN High (ISO 15765-4) | Primary HS-CAN+ (500 kbaud, 11-bit or 29-bit) | HS-CAN+ (often retained alongside DoIP for legislated OBD) |
| Pin 7 | ISO 9141-2 / ISO 14230-4 K-Line | Legacy 10.4 kbaud asynchronous serial (1996 to 2008 EU/Asia) | Unused on modern Ethernet architectures |
| Pin 8 | OEM Discretionary | Ignition-switched +12V on some legacy platforms | DoIP Activation Line (+12V wake signal, >=200 ms) |
| Pin 9 | OEM Discretionary | Manufacturer-specific bus or clock/telemetry line | Unused in Option 1 |
| Pin 10 | SAE J1850 Bus- (PWM only) | Legacy Ford differential return pair with Pin 2 | Unused on CAN/DoIP architectures |
| Pin 11 | OEM Discretionary | MS-CAN Low (paired with Pin 3 on Ford, Mazda, JLR) | Ethernet RX- (100BASE-TX twisted pair with Pin 3) |
| Pin 12 | OEM Discretionary | Manufacturer-specific secondary CAN or K-Line | Ethernet TX+ (100BASE-TX twisted pair with Pin 13) |
| Pin 13 | OEM Discretionary | Manufacturer-specific secondary CAN or flash enable | Ethernet TX- (100BASE-TX twisted pair with Pin 12) |
| Pin 14 | CAN Low (ISO 15765-4) | Primary HS-CAN- (500 kbaud, paired with Pin 6) | HS-CAN- (often retained alongside DoIP) |
| Pin 15 | ISO 9141-2 / ISO 14230-4 L-Line | Optional wake-up line for 5-baud slow init | Unused on modern Ethernet architectures |
| Pin 16 | Battery +12V (Unswitched) | Constant 12V supply for adapter / VCI (typically fused 5A to 10A) | Constant +12V supply (also sources Pin 8 activation switch) |
Because Pins 3, 8, 11, 12, and 13 carry completely different signals across car makers (for example, MS-CAN on JLR/Ford versus 100BASE-TX Ethernet on DoIP platforms, and ISO 13400 itself defines two pinout options), passive OBD-to-RJ45 cables that tie Pin 16 (+12V) to Pin 8 must only be plugged into vehicles explicitly confirmed to use that DoIP pinout. Tesla's own Model Y service manual explicitly warns against connecting its OBD-II-to-RJ45 adapter to a non-DoIP socket.
In-Vehicle Networks: CAN, CAN FD, LIN & Legacy OBD Protocols
A modern vehicle is not a single flat network; it is a segmented topology of domain buses connected by a Central Gateway Module (GWM / CGW). Powertrain and high-voltage battery ECUs typically sit on High-Speed CAN (500 kbaud), body and comfort modules sit on Medium-Speed or Low-Speed CAN (125 to 250 kbaud), local switches and window motors run on low-cost single-wire LIN sub-buses, and newer ADAS and zonal architectures run on CAN FD or Automotive Ethernet.
| Bus / Protocol | Standard | Bitrate | ELM327 Protocol | OBD Port Access | Typical Era & Usage |
|---|---|---|---|---|---|
| HS-CAN | ISO 15765-4 | 500 kbaud | SP6 (11b) / SP7 (29b) | Direct (Pins 6/14) | 2008+ universal primary bus: ECM/PCM, EV BMS/BECM, ABS, transmission, gateway. |
| MS-CAN | ISO 15765-4 | 250 / 125 kbaud | SP8 / SP9 / SPB | Pins 3/11 or Gateway | Secondary bus on Ford, Mazda, and JLR for HVAC, TPMS, parking aid, and body modules. Requires MS-CAN-wired adapter or gateway routing. |
| LS-CAN | ISO 11898-3 | 125 kbaud | SPB (USER1) | Conditional | Fault-tolerant low-speed body and comfort networks on older European architectures. |
| CAN FD | ISO 11898-1:2015 | Up to 8 Mbaud | Not ELM327 | Needs CAN FD VCI | 2020+ architectures requiring up to 64-byte payloads (versus 8 bytes in Classical CAN) for ADAS, EV inverters, and high-throughput telemetry. |
| SAE J1939 | SAE J1939 | 250 / 500 kbaud | SPA | 29-bit PGN | Heavy-duty trucks, buses, agricultural and marine machinery using 29-bit Parameter Group Numbers (PGNs). |
| KWP2000 | ISO 14230-4 | 10.4 kbaud | SP4 (5b) / SP5 (Fast) | Pin 7 K-Line | 2001 to 2008 European and Asian vehicles; supports 5-baud slow init and 25 ms fast init. |
| ISO 9141-2 | ISO 9141-2 | 10.4 kbaud | SP3 | Pins 7 & 15 | 1996 to 2004 European, Japanese, and Chrysler vehicles; timing-sensitive 5-baud slow initialisation. |
| J1850 PWM | SAE J1850 | 41.6 kbaud | SP1 | Pins 2 & 10 | 1996 to 2007 Ford Motor Company vehicles (two-wire differential Pulse Width Modulation). |
| J1850 VPW | SAE J1850 | 10.4 kbaud | SP2 | Pin 2 | 1996 to 2007 General Motors and Chrysler vehicles (single-wire Variable Pulse Width). |
| LIN | ISO 17987 | 20 kbaud | Not OBD port | Sub-bus via ECU | Single-wire master-slave sub-network for mirrors, window lifts, rain sensors, and battery current shunts (IBS); queried indirectly through a parent CAN ECU. |
11-Bit vs 29-Bit CAN Diagnostic Addressing
On Classical CAN (ISO 15765-4), diagnostic tools address control modules using either 11-bit standard identifiers (protocol 6, the most common on passenger cars) or 29-bit extended identifiers (protocol 7).
- 11-Bit Functional Broadcast (
7DF): A query sent to header7DFis broadcast to all legislated emissions ECUs simultaneously. Each responding ECU replies on its own receive ID between7E8and7EF. - 11-Bit Physical Addressing (
TX/TX + 8): To talk to one specific module, a tool targets its physical TX header (for example,7E0for Engine/PCM,7E1for Transmission,7E4for EV Battery Management). By ISO convention the module answers onTX + 8(7E8,7E9,7EC), though body and chassis ECUs (such as726BCM,733HVAC,751TPMS, or PSA e-CMP's6B4/6A2) use OEM-assigned offsets. - 29-Bit Extended Addressing: Legislated functional broadcast uses
18DB33F1and physical addressing uses18DA<target><tester>(for example, Renault Zoe ZE50 BMS at18DADBF1). Some platforms use non-standard 29-bit headers and asymmetric RX filters, such as Volvo/Polestar CMA's BECM (TX1DD01635viaATCP 1D+ATSH D01635, RX filtered explicitly viaATCRA 1EC6AE80). - Live Multi-Bus Switching: On vehicles with multiple physical CAN speeds, switching buses does not require dropping the Bluetooth, Wi-Fi, or USB link. Sending
ATSP<n>followed byATH1(headers on) and the target bus'sATSH/ATFCSHcommands moves the adapter seamlessly between HS-CAN and MS-CAN in milliseconds.
SAE J1979 Diagnostic Modes, Standard PIDs & DTC Anatomy
SAE J1979 (ISO 15031-5) defines the ten universal diagnostic services (historically called "Modes" $01 through $0A) supported by emissions-compliant vehicles. Every positive reply adds 0x40 to the request mode byte: a Mode 01 request returns a 41 response; a Mode 09 VIN request returns a 49 response.
| Mode | Response | Name | What It Reads or Performs |
|---|---|---|---|
| $01 | $41 | Current Powertrain Data | Live sensor PIDs (RPM, speed, coolant, fuel trims, throttle, ambient temp, odometer, module voltage) plus MIL status and readiness monitors (01 01, 01 41). |
| $02 | $42 | Freeze Frame Data | Snapshot of Mode $01 operating conditions captured at the exact moment a confirmed fault illuminated the MIL. |
| $03 | $43 | Confirmed Trouble Codes | Stored emissions-related Diagnostic Trouble Codes (2 bytes per code) that have matured and triggered the MIL. |
| $04 | $44 | Clear DTCs & Reset Monitors | Clears confirmed/pending DTCs, turns off the MIL, erases freeze frames, and resets emissions readiness monitors to Incomplete. Must only run with engine/drive off. |
| $05 | $45 | Oxygen Sensor Test Results | Legacy non-CAN O2 sensor voltage and switching thresholds (superseded by Mode $06 on CAN vehicles). |
| $06 | $46 | On-Board Monitoring Results | Detailed non-continuous monitor test values, minimums, and maximums (OBDMIDs, TIDs, UASID scaling), including per-cylinder misfire counts (MID $A2 onward). |
| $07 | $47 | Pending Trouble Codes | Faults detected during the current or previous drive cycle that have not yet met the two-trip threshold to become confirmed. |
| $08 | $48 | Control of On-Board System | Bidirectional emissions tests (such as EVAP leak-test actuation); rarely enabled on modern consumer scan tools. |
| $09 | $49 | Vehicle Information | VIN (09 02), Calibration IDs (09 04), Calibration Verification Numbers / CVN (09 06), and In-Use Performance Tracking / IUPR counters (09 08 / 09 0B). |
| $0A | $4A | Permanent Trouble Codes | Emission-critical codes that survive a Mode $04 clear and battery disconnect; only the vehicle's own ECU clears them after passing verified drive-cycle checks. |
Essential Standard Mode $01 PIDs & Byte Formulas
Diagnostic software queries bitmask PIDs (01 00, 01 20, 01 40, 01 60, 01 80, 01 A0) to discover which standard parameters an ECU supports, then parses raw payload bytes A, B, C, D into physical engineering units:
| Command | Parameter | Bytes | Formula | Unit | EV Relevance |
|---|---|---|---|---|---|
| 01 01 | Monitor Status & MIL | 4 | Bit 7 of A = MIL; Bits 6..0 = DTC count | Bitmask | MIL state & readiness check |
| 01 05 | Engine Coolant Temp | 1 | A - 40 | °C | ICE / PHEV only |
| 01 0C | Engine Speed (RPM) | 2 | (A * 256 + B) / 4 | RPM | ICE / PHEV only |
| 01 0D | Vehicle Speed | 1 | A | km/h | Widely bridged on EV gateways |
| 01 1C | OBD Standard Conformance | 1 | Enumerated standard ID (OBD-II, EOBD, JOBD, etc.) | Enum | Identifies regional compliance |
| 01 21 | Distance Travelled with MIL On | 2 | A * 256 + B | km | Audit & fault duration check |
| 01 31 | Distance Since Codes Cleared | 2 | A * 256 + B | km | Pre-purchase reset detection |
| 01 42 | Control Module Voltage | 2 | (A * 256 + B) / 1000 | V | 12V auxiliary bus health |
| 01 46 | Ambient Air Temperature | 1 | A - 40 | °C | Often exposed by EV gateways |
| 01 5B | Hybrid / EV Battery Pack Remaining Life | 1 | A * 100 / 255 | % | Sometimes maps to display SoC (coarse ~0.4% steps) |
| 01 A6 | Odometer | 4 | (A*2^24 + B*2^16 + C*256 + D) / 10 | km | Standardised mileage (2019+ vehicles) |
Interactive DTC Fault Code Structure Decoder (SAE J2012 & UDS 3-Byte)
Every 5-character Diagnostic Trouble Code follows SAE J2012 (ISO 15031-6). On the CAN wire, a standard OBD-II DTC is encoded in just 2 bytes (the top two bits select P, C, B, or U). Under UDS Service 0x19 and upcoming SAE J1979-2 / J1979-3, ECUs report 3-byte DTCs where the third byte is a Failure Type Byte (FTB) pinpointing the exact electrical failure mode (for example, -11 circuit short to ground, -13 circuit open, -68 event information).
Unified Diagnostic Services (ISO 14229 UDS) & ISO-TP Framing
Generic OBD-II Mode $01 was never designed to inspect 96 individual lithium-ion cell voltages, inverter IGBT temperatures, heat-pump refrigerant pressures, or ultrasonic parking sensors. Automakers and Tier-1 suppliers use Unified Diagnostic Services (UDS), standardised in ISO 14229. UDS is transport-independent: the exact same application-layer bytes run over Classical CAN (ISO 15765-3), CAN FD, FlexRay, and Automotive Ethernet (DoIP ISO 13400).
Core ISO 14229 UDS Services Reference
| Service ID | Positive Reply | UDS Service Name | Purpose & Access Classification |
|---|---|---|---|
| 0x10 | 0x50 | DiagnosticSessionControl | Switches ECU between Default (01), Programming (02), and Extended (03) sessions. Extended sessions often gate advanced routines or fast timers. |
| 0x11 | 0x51 | ECUReset | Triggers Hard Reset (01), Key-Off-On Reset (02), or Soft Reset (03). Active write operation; never run while moving. |
| 0x14 | 0x54 | ClearDiagnosticInformation | Clears DTCs for a specified group (14 FF FF FF clears all groups). Replaces legacy Mode $04 in OBDonUDS / ZEVonUDS. |
| 0x19 | 0x59 | ReadDTCInformation | Reads module DTCs and status masks across every ECU: e.g., 19 02 FF (report DTC by status mask), 19 04 (snapshot/freeze frame), 19 06 (extended data). |
| 0x22 | 0x62 | ReadDataByIdentifier | The workhorse of EV and OEM live telemetry. Sends 22 XX XX to read a 2-byte Data Identifier (DID), such as 22 F1 90 (VIN) or battery SoH/cell data. Multiple DIDs can be batched in one request if supported. |
| 0x27 | 0x67 | SecurityAccess (Seed-Key) | Challenge-response unlock: tool requests a random seed (odd sub-function, e.g. 27 01), computes a manufacturer-specific cryptographic key, and sends it back (even sub-function, 27 02). |
| 0x29 | 0x69 | Authentication (PKI) | Modern replacement for static seed-key (ISO 14229-1:2020): bidirectional X.509 certificate verification against an OEM Public Key Infrastructure root authority. |
| 0x2E | 0x6E | WriteDataByIdentifier | Writes configuration or calibration data to a DID. Typically blocked by Secure Gateways unless authenticated. |
| 0x2F | 0x6F | InputOutputControlByIdentifier | Bidirectional actuator tests (cycling coolant pumps, cooling fans, relays, or valves). Parked-only workshop operation. |
| 0x31 | 0x71 | RoutineControl | Starts, stops, or requests results of internal ECU routines (service resets, battery balancing, brake bleed, calibration). |
| 0x3E | 0x7E | TesterPresent | Heartbeat (3E 00 or 3E 80 suppress-positive-response) keeping a non-default diagnostic session alive before the S3 server timeout expires. |
Standardised UDS Identification DIDs & Negative Response Codes (NRCs)
Universal ECU Metadata (0xF100 to 0xF1FF)
Even before manufacturer-specific sensors are mapped, most modern ECUs respond to standard identification DIDs via Service 0x22:
22 F1 90: Vehicle Identification Number (VIN, 17 ASCII chars)22 F1 87: Vehicle Manufacturer Spare Part Number22 F1 88: Vehicle Manufacturer ECU Software Number22 F1 89: ECU Software Version Number22 F1 8C: ECU Serial Number22 F1 91: Vehicle Manufacturer ECU Hardware Number22 F4 xx/22 F8 xx: Reserved for OBDonUDS (J1979-2)
Negative Response Frame (7F <SID> <NRC>)
When an ECU refuses a UDS request, it replies with 0x7F, the echoed request Service ID, and a 1-byte Negative Response Code (NRC):
0x11: Service Not Supported by this ECU0x12: Sub-Function Not Supported0x13: Incorrect Message Length or Invalid Format0x22: Conditions Not Correct (e.g., vehicle moving or ignition off)0x31: Request Out Of Range (DID does not exist on this ECU)0x33: Security Access Denied (gateway or ECU locked)0x78: Response Pending (ECU busy; keep waiting for final reply)
ISO 15765-2 (ISO-TP): How Large EV Payloads Fit Inside 8-Byte CAN Frames
A Classical CAN frame carries a maximum of 8 bytes of data. That is enough for RPM or coolant temperature, but reading a 17-character VIN, a list of 15 DTCs, or 96 EV battery cell voltages (nearly 200 bytes) requires segmenting the payload across multiple CAN frames and reassembling it in order. ISO 15765-2 (ISO-TP) defines four Protocol Control Information (PCI) frame types using the first nibble of byte 0:
Tester (7E4) EV Battery ECU (7EC) | | |--- [03 22 49 10] Single Frame (0x0 = SF, len=3 bytes) ------>| "Read DID 49 10" | | |<-- [10 14 62 49 10 A1 B2 C3] First Frame (0x1 = FF, 20 B) ---| "20-byte reply starts" | | |--- [30 00 00] Flow Control (0x3 = FC, CTS, BS=0, ST=0) -->| "Continue To Send" | | |<-- [21 D4 E5 F6 01 02 03 04] Consecutive Frame #1 (0x21) ----| bytes 7..13 |<-- [22 05 06 07 08 09 0A 0B] Consecutive Frame #2 (0x22) ----| bytes 14..20
Why this matters in practice: Inexpensive counterfeit ELM327 adapters have tiny RAM buffers (often 128 to 256 bytes) and broken ISO-TP Flow Control timing. They can read a 4-byte Mode $01 coolant temperature on a petrol car, then fail with BUFFER FULL or dropped Consecutive Frames the moment an EV app requests a multi-frame battery module or cell-voltage block.
OBD-II Adapters, Chipsets, BLE vs Apple MFi & OS Constraints
Every consumer OBD-II adapter is a microcontroller bridge that translates asynchronous text commands (the ELM327 AT command set) from a phone or computer into timed electrical signals on the vehicle's CAN or legacy buses. Although hundreds of plastic dongles look identical, their internal silicon and radio stacks differ drastically.
Adapter Silicon Families: ELM327 vs STN vs Clones
| Chipset Family | Representative Adapters | Buffer & ISO-TP Handling | Protocol & Command Fidelity |
|---|---|---|---|
| STN11xx / STN21xx / STN22xx | OBDLink CX (STN2255), OBDLink MX+, OBDLink EX, Vgate vLinker MC+/FD+/FS/MS (STN-compatible) | Large 2 KB to 4 KB buffers; full multi-frame ISO-TP reassembly; extended ST commands for fast CAN filtering and wakeup. |
Benchmark Full ELM327 v2.x compatibility plus native multi-bus and battery-saver sleep circuitry. |
| Genuine Elm Electronics ELM327 | Legacy reference adapters (Elm Electronics ceased chip production in 2022) | Standard 512-byte buffer; accurate ISO-TP timing and genuine firmware revision strings. | Reference Original specification author; now succeeded commercially by STN-class silicon. |
| PIC18F25K80 Clones ("v1.5") | Budget branded BLE/Wi-Fi adapters (varies widely by batch) | Small buffers; generally workable for Mode $01 and short UDS replies, mixed reliability on 29-bit or long EV cell dumps. |
Mixed Derived from leaked ELM327 v1.0 firmware; lacks genuine v2.x timing refinements. |
| Cut-Down "v2.1" Counterfeits | Unbranded $5 to $12 translucent blue/black mini dongles | Severely stripped firmware; frequently drops ATSH, ATCRA, ATFCSH, and long multi-frame ISO-TP frames. |
Avoid for EVs Often reports bogus "ELM327 v2.1" banner while failing standard UDS Service $22 queries. |
Essential ELM327 AT Command Quick Reference
| Command | Function | Practical Engineering Note |
|---|---|---|
| AT Z / AT WS | Full Reset / Warm Start | Resets adapter state to defaults; AT WS keeps the current UART baud rate. |
| AT E0 / AT L0 / AT S0 | Echo Off / Linefeeds Off / Spaces Off | Reduces wireless byte overhead and simplifies response frame parsing. |
| AT H1 | CAN Headers On | Essential for multi-ECU UDS and EV scans so software knows which ECU (7E8, 7EC, 73B) answered. |
| AT SP 0 / 6 / 7 / B | Set OBD Protocol | 0 Auto; 6 11-bit 500k HS-CAN; 7 29-bit 500k CAN; B USER1 (often 125k LS/MS-CAN). |
| AT SH <hex> | Set Transmit CAN Header | Directs requests to a specific ECU (e.g., ATSH 7E4 for EV BECM/BMS, ATSH 733 for HVAC). |
| AT CRA <hex> | Set CAN Receive Address Filter | Restricts incoming replies to one ECU RX ID (e.g., ATCRA 7EC or 29-bit ATCRA 1EC6AE80). |
| AT FCSH / AT FCSM 1 | Flow Control Header & Mode | Ensures ISO-TP Flow Control frames target the right ECU during multi-frame UDS replies. |
| AT ST <hh> | Set Response Timeout | Timeout in multiples of 4 ms (e.g., ATST 19 = 100 ms for high-rate telemetry loops). |
| AT RV | Read Input Voltage | Reads vehicle 12V supply at J1962 Pin 16 directly through the adapter's ADC; also acts as a keep-alive heartbeat. |
| AT MA / AT CSM 1 | Monitor All / Silent CAN Mode | Passive bus listening (no CAN ACK transmitted when ATCSM1 is active); used for broadcast-only frames such as cell voltages or Tesla/Rivian bus captures. |
Wireless & Wired Transport Realities Across iOS, Android & macOS
CoreBluetooth BLE vs Apple MFi Classic Bluetooth
Apple's iOS sandbox prohibits third-party apps from using Bluetooth Classic Serial Port Profile (SPP) unless the hardware is certified under Apple's MFi (Made for iPhone) programme and the app is explicitly enrolled in that vendor's MFi Product Plan via the ExternalAccessory framework. That is why popular MFi Classic Bluetooth adapters such as OBDLink MX+ and Vgate vLinker FS / MS (Bluetooth) pair in iOS Settings yet remain invisible to CoreBluetooth scanners unless an app holds vendor-approved MFi enrollment.
By contrast, Bluetooth Low Energy (BLE 4.0/5.x) adapters (such as OBDLink CX, Vgate vLinker MC+, vLinker FD+ 4.0, iCar Pro 2S, and Veepeak BLE+) emulate serial UART over GATT services (most commonly 16-bit UUIDs FFF0 with TX FFF2 / RX FFF1, or FFE0 with FFE1) and work natively over CoreBluetooth with zero MFi gating. Robust BLE clients handle iOS's 23-byte baseline MTU (20-byte write payload chunking) and filter out cockpit BLE noise such as 12V battery monitors (BM2/BM3) and aftermarket TPMS sensors that also advertise on FFF0.
No-Internet Wi-Fi APs, USB Serial & SPP Removal
Wi-Fi ELM327 Adapters: These expose a local TCP socket over an access point with no internet route. On iOS, diagnostic clients must pin sockets to the Wi-Fi interface (requiredInterfaceType = .wifi) so cellular default routing does not swallow OBD packets, use short TCP keepalives to detect silent link drops, and account for two real-world quirks: hosting an iPhone Personal Hotspot blocks initial AP association (though enabling Hotspot after connecting can coexist), and Wi-Fi dongles that enter deep sleep on always-powered EV OBD ports often require a physical replug because an EV has no starter-crank voltage spike to wake them.
Android & macOS 26 (Tahoe): Android supports Classic Bluetooth SPP, BLE, Wi-Fi, and USB OTG serial natively. On macOS 26 (Tahoe), Apple officially removed native Bluetooth Classic SPP support: even though Apple Silicon MacBooks use Broadcom BCM_4378 silicon with hardware SerialPort capability, Darwin 26 no longer exposes /dev/tty.* nodes for Classic Bluetooth dongles. For modern Macs, BLE and wired USB-to-Serial (FTDI / CP210x / CH340) are the clean, sandbox-compatible transports. See our Compatible Adapters Guide for tested models.
Electric Vehicle & High-Voltage Battery Diagnostics
Diagnosing a battery electric vehicle is fundamentally different from diagnosing a combustion engine. There are no fuel trims, catalytic converters, EGR valves, or exhaust oxygen sensors. Instead, the heart of EV diagnostics is the Battery Management System (BMS / BECM / BMC), the On-Board Charger (OBC / BCCM), the DC-DC Converter (stepping 400 V or 800 V traction voltage down to the 12V auxiliary bus), traction inverters, and multi-valve thermal management loops.
Core EV High-Voltage Battery Metrics Explained
| Metric | What It Measures | Engineering & Diagnostic Significance |
|---|---|---|
| Display SoC vs BMS Real SoC | User-facing battery percentage vs true electrochemical state of charge inside the pack buffers. | Automakers hide top and bottom buffers (often 4% to 10%) to protect cell longevity. Comparing Display SoC against BMS Real SoC explains why 100% on the dashboard may equal ~92% to 96% real cell charge. |
| State of Health (SoH) | Retained capacity (and on some BMSs, power capability) relative to nominal new-pack energy. | Pre-Euro-7 / pre-J1979-3 EVs compute SoH with proprietary OEM algorithms (each brand uses different baselines: gross vs usable kWh). Always label whether SoH is the BMS's own figure or an independent discharge measurement. |
| Cell Voltage Min / Max & Spread (mV) | Highest and lowest individual cell-group voltages across the series string (commonly 96s to 108s on 400V packs, 192s+ on 800V packs). | Under rest, healthy cells typically sit within ~10 to 30 mV. A widening spread under load or at low SoC (<20%) is the earliest indicator of a weak module or self-discharging cell group before a dashboard warning appears. |
| Battery Module Temperatures | Thermistor array across pack banks (e.g., 11 to 36+ sensors) plus coolant inlet/outlet temps. | Governs DC fast-charging taper curves, winter regenerative braking limits, and thermal runaway early warning. Large bank-to-bank deltas point to coolant flow restrictions or airlocks. |
| Pack Voltage & Signed Current (kW) | Instantaneous HV bus voltage (V) and signed DC current (A): discharge vs regenerative braking vs AC/DC charging. | Power (kW) = (V * I) / 1000. Plotting SoC vs kW and temperature reveals real charging-curve throttling and thermal bottlenecks. |
| HV Isolation Resistance (kOhm / MOhm) | Electrical resistance between the high-voltage DC bus (+ and -) and vehicle chassis earth. | Safety-critical under ISO 6469-3 and UN ECE R100: minimum DC requirement is 500 Ohm per volt of maximum working voltage. For a 452 V max pack, the critical floor is 226 kOhm (500 * 452). Degraded readings (e.g., 160 to 170 kOhm) indicate moisture ingress, damaged HV cabling, or a failing heater/compressor/OBC; severe faults trigger P0AA6 and prevent HV contactor closure. |
| 12V Auxiliary & DC-DC Rail | Low-voltage lead-acid or Li-ion auxiliary battery voltage and DC-DC charging output. | A failing 12V battery is the #1 cause of EV "won't start" immobilisation: the 12V rail powers every ECU and closes the main HV contactors. |
Real-World Context: Why Software Recalls Can Mimic Battery Degradation
Raw OBD numbers can mislead buyers if read without vehicle campaign context. On affected 2019 to 2022 Jaguar I-Pace vehicles, JLR issued BECM software campaign H441 (superseding the earlier 90% cap in H570) to mitigate folded anode tabs in a batch of cells. H441 enforces a hard 72% maximum State of Charge ceiling: the car stops charging at 72% regardless of user settings, and capacity SoH counters computed against the capped window can trend artificially low even though the physical cells discharge at full rated power. Diagnostic software must cross-reference known recall conditions so a 72% software ceiling is never misdiagnosed as 28% cell degradation. See our real-car write-up in Case Study: Diagnosing an I-Pace Battery Recall.
Cross-Platform EV Diagnostic Architecture Patterns
Until standardised ZEVonUDS (J1979-3) and Euro 7 monitors dominate the fleet, EV diagnostic access varies sharply across platform families (see our ECU Database and Vehicle Compatibility pages for platform-by-platform validation status):
- 11-Bit HS-CAN UDS on Header
7E4(Most Common): Used by Jaguar I-Pace (Continental BECM, plus passive cell-voltage CAN broadcasts on IDs6B1to6B4), Hyundai/Kia E-GMP (7E4BMC,7E2VMCU,7A0TPMS,7C6Cluster), VW MEB (7E4BMS), Ford BEV3/GE2 (7E4HVBJB), and Porsche J1/PPE (7E4BMS). - Multi-Header Non-Standard 11-Bit CAN: Stellantis e-CMP / STLA Small splits battery and drivetrain identifiers across
6B4(BMU) and6A2(VCU). - 29-Bit Extended CAN: Volvo/Polestar CMA uses 29-bit BECM addressing (
0x1DD01635TX /0x1EC6AE80RX), and Renault Zoe ZE50 uses 29-bit extended ISO-TP frames (0x18DADBF1). - Isolated BMS Bus (Passive Broadcast Only): Early Tesla Model 3/Y and Rivian R1T/R1S isolate their high-voltage BMS CAN bus from standard OBD polling; third-party tools either tap an internal harness for passive CAN broadcast frames or, on April 2024+ Tesla Model 3/Y, connect over DoIP Ethernet.
Active diagnostic requests on high-voltage ECUs demand discipline. Never send state-changing commands (clearing DTCs via Mode $04 or UDS 0x14, ECU resets, or actuator routines) while a vehicle is moving or in Ready/Drive mode. In addition, specific vehicle platforms exhibit firmware hazards under aggressive polling: for example, documented community warnings on Mercedes/Smart EQ platforms note that improper active polling can increment or latch HV contactor-cycle counters. Safe diagnostic tools strictly allowlist read-safe commands, enforce parked-only interlocks before any code clear, and avoid undocumented write services.
SAE J1979-2 (OBDonUDS) & SAE J1979-3 (ZEVonUDS)
For thirty years, every generic OBD-II scanner spoke legacy SAE J1979 (Modes $01 to $0A). That era is ending. Under California Air Resources Board (CARB) rulemakings 13 CCR 1968.2 (OBD II) and 13 CCR 1962.5 (Zero-Emission Vehicle Data Standardisation), generic legislated diagnostics migrate completely onto the ISO 14229 UDS service layer. Because federal EPA compliance has historically accepted CARB OBD II standards and automakers engineer unified 50-state software, this transition affects the entire North American fleet and sets a template globally.
| Diagnostic Function | Legacy SAE J1979 (1996 to 2026) | SAE J1979-2 (OBDonUDS) & J1979-3 (ZEVonUDS) |
|---|---|---|
| Physical Port & Wire | SAE J1962 16-pin, ISO 15765-4 CAN (500k) | Unchanged: same J1962 socket, same CAN wiring, same ELM327 / STN adapters carry the frames. |
| Live Sensor Data (PIDs) | Mode $01 (1-byte PID, e.g., 01 0C) |
UDS Service 0x22 mapped into the F4xx DID range (e.g., 22 F4 xx) plus multiple DIDs per request. |
| Vehicle Info (VIN, CALID, CVN) | Mode $09 (e.g., 09 02 for VIN) |
UDS Service 0x22 mapped into the F8xx DID range (e.g., 22 F8 xx) alongside standard F1xx IDs. |
| Read Fault Codes (DTCs) | Modes $03, $07, $0A (2-byte DTCs) |
UDS Service 0x19 (ReadDTCInformation) sub-functions returning richer 3-byte DTCs (2-byte code + Failure Type Byte). |
| Clear Fault Codes | Mode $04 |
UDS Service 0x14 (ClearDiagnosticInformation) with target DTC group. |
| EV Battery SoH & Charge Data | None (proprietary per automaker) | SAE J1979-3 (ZEVonUDS) & J1979-DA: standardised EV battery State of Health, charge rate, and traction data (CARB notes J1979-DA rounds SoH and charge rate to the nearest tenth). |
| Scan Tool Auto-Detection | Send 01 00 and check for 41 00 |
SAE J1978-2 (revised December 2025) defines the detection handshake so scan tools identify whether a car speaks J1979, J1979-2, or J1979-3. |
Timeline: CARB 13 CCR 1968.2 mandates SAE J1979-2 (OBDonUDS) (revised April 2026) for all MY2027+ light- and medium-duty combustion vehicles (and heavy-duty from MY2027). CARB 13 CCR 1962.5 phases in SAE J1979-3 (ZEVonUDS) across 40% of MY2026 EVs and 100% of MY2027 EVs.
Why older scanners break: A vehicle implementing only J1979-2 / J1979-3 may not answer legacy Mode $01 or Mode $04 requests at all, making an un-updated app appear to receive "NO DATA" even though the dongle hardware is physically compatible.
Enforcement caveat: In June 2025, US Congressional Review Act resolutions revoked California's Clean Air Act waiver for Advanced Clean Cars II (which houses 13 CCR 1962.5 / J1979-3). California and allied states challenged the revocation in federal court (N.D. Cal. No. 4:25-cv-04966-HSG), and CARB stated it continues certifying MY2026 models. Because J1979-2 sits under the separate OBD II regulation and OEMs have largely completed 50-state standards engineering, both OBDonUDS and ZEVonUDS remain the clearest near-term software shift for diagnostic tools. (Note: byte-level DID mappings are governed by the paywalled SAE J1979-2, J1979-3, J1979-DA, and J1978-2 publications and must be verified against the official SAE texts during implementation.)
Diagnostics over Internet Protocol (DoIP / ISO 13400)
Classical CAN caps out at 500 kbps with 8-byte payloads. Modern software-defined vehicles pack 80+ ECUs, radar/camera ADAS calibration routines, and gigabyte-scale infotainment and battery firmware updates. To break the CAN bottleneck, automakers introduced DoIP (Diagnostics over Internet Protocol), standardised in ISO 13400, running 100 Mbps full-duplex 100BASE-TX Ethernet straight through discretionary pins of the J1962 port.
How a DoIP Diagnostic Session Works (OSI Layer Breakdown)
1. Physical Wakeup : Tester applies +12V (from Pin 16) to Pin 8 (Activation Line) for >=200 ms.
Vehicle DoIP Edge Node (Central Gateway) powers up 100BASE-TX Ethernet (Pins 3/11 RX, 12/13 TX).
2. IP Assignment : Gateway and Tester negotiate IPv4 via DHCP (often 10.x.x.x / OEM subnet)
or Auto-IP / APIPA link-local fallback (169.254.0.0/16, mask 255.255.0.0).
3. UDP Discovery : Tester sends UDP Vehicle Identification Request on Port 13400.
Edge Node replies with Vehicle Announcement: VIN, Entity ID (EID/MAC), Logical Address.
4. TCP & Activation : Tester opens TCP Port 13400 and sends Routing Activation Request (0x0005)
with tester source address (aftermarket range typically 0x0E00 to 0x0E7F).
Edge Node responds with Routing Activation Response (0x0006).
5. UDS over DoIP : Tester sends Diagnostic Message (0x8001) carrying Target 16-bit Logical Address + UDS payload.
Edge Node returns Diagnostic Message Positive Ack (0x8002), then ECU UDS reply (0x8001).
6. Keep-Alive : Edge Node sends Alive Check Request (0x0007); silent testers are disconnected (~500 ms timer).
ISO 13400 Core DoIP Payload Types
| Payload Type | Transport | Message Name | Role in Session |
|---|---|---|---|
| 0x0001 / 0x0004 | UDP 13400 | Vehicle Identification Request / Announcement | Broadcast or unicast discovery returning VIN, Entity ID, Group ID, and Gateway Logical Address. |
| 0x0005 / 0x0006 | TCP 13400 | Routing Activation Request / Response | Gatekeeper handshake registering tester source address and activation type (default, WWH-OBD, or OEM-specific). |
| 0x0007 / 0x0008 | TCP 13400 | Alive Check Request / Response | Verifies the external tester is still active so zombie sockets do not tie up gateway resources. |
| 0x8001 | TCP 13400 | Diagnostic Message | Encapsulates ISO 14229 UDS bytes addressed by 16-bit Source and Target ECU Logical Addresses instead of CAN IDs. |
| 0x8002 / 0x8003 | TCP 13400 | Diagnostic Message Pos / Neg Ack | Confirms the gateway accepted and routed (or rejected) the encapsulated UDS payload. |
DoIP Deployments, Hardware Routes & Technical Trade-offs
Real-World Vehicle Architectures
- Tesla Model 3 & Model Y (April 2024+): Official Tesla service manuals confirm DoIP diagnostics through the standard J1962 port via an OBD-II-to-RJ45 adapter.
- Jaguar Land Rover (Post-2017 / MLA / EVA2): Transitioned from CAN-based SDD to 100 Mbps DoIP (Pathfinder / TOPIx Cloud) on platforms such as L460 Range Rover and L663 Defender, moving to PKI-secured DoIP on 2024+ architectures.
- Porsche J1 (Taycan), BMW G-Series, Geely SPA2 (EX90 / Polestar 3), Newer VAG & Mercedes: Use DoIP gateways at the port for programming and, increasingly, deep module diagnostics.
Bridges, iOS Entitlements & What Disappears
- Consumer Hardware Routes: Wi-Fi Ethernet bridges ("ENET Wi-Fi" adapters already common in the BMW ecosystem) or USB-C Ethernet adapters paired with a DoIP OBD-to-RJ45 cable. Neither requires Apple MFi.
- Workshop Interfaces: Commercial DoIP VCIs (such as Bosch JLR DoIP, TEXA DoIP NODE, DSA WDI-2) often enumerate over USB as standard RNDIS Ethernet network interfaces, usable via raw TCP/UDP sockets (e.g., Python
doipclient/udsoncanor SwiftNetwork.framework). - iOS Networking Constraints: UDP broadcast discovery on iOS requires Apple's restricted
com.apple.developer.networking.multicastentitlement (with unicast discovery to a known gateway IP as fallback), plus Local Network permission. - No Passive CAN Sniffing: Because DoIP is routed IP request/response, passive CAN bus monitoring (
ATMA/ATCSM1) does not exist over Ethernet. - Security Option: ISO 13400-2:2019 specifies optional TLS with mutual certificates over DoIP; adoption varies by OEM.
Secure Gateways (SGW), UN R155, EU Appendix 4, SERMI & CRA
Under Europe's General Safety Regulation 2 (GSR2), every new vehicle registered in the EU must comply with UN Regulation No. 155 (Cybersecurity Management System, CSMS) and UN Regulation No. 156 (Software Update Management System, SUMS). Rather than leaving every powertrain and safety CAN bus exposed directly to the footwell connector, automakers increasingly interpose a Secure Gateway (SGW) firewall between the OBD-II port and internal vehicle networks.
Myth vs Fact: Common Misconceptions About Secure Gateways
| Common Claim | Verified Fact |
|---|---|
| "UN R155 lets automakers lock the OBD port completely." | False in the EU. In Carglass / ATU v Stellantis Italy (ECJ Case C-296/22, 5 October 2023), the European Court of Justice ruled that UN R155 cannot justify OBD access restrictions beyond what Type Approval Regulation (EU) 2018/858 explicitly permits. |
| "Independent garages use SERMI certificates to unlock every Secure Gateway." | Incorrect. SERMI authorises workshops and vetted employees specifically for security-related RMI (anti-theft functions: keys, immobilisers, security modules). General gateway authentication is handled by each OEM's own operator/device registration under EU Appendix 4 points 3.1 to 3.3. |
| "UN R155 legally mandates HSMs and specific asymmetric ciphers." | Overstated. UN R155 is a process and risk-management regulation (requiring a certified CSMS and threat assessment); it does not prescribe one cryptographic algorithm, though OEMs widely adopt UDS 0x29 PKI certificates in practice. |
| "Euro 7 mandates encrypted DoIP and eliminates CAN OBD sockets." | False. Euro 7 mandates battery State of Health and on-board monitoring readable via the OBD port and reinforces R155/R156 anti-tampering duties, which encourages gateways, but does not mandate DoIP. |
EU Delegated Regulation (EU) 2026/699 (Appendix 4): The Three-Tier Rulebook
In force since 23 June 2026 with no transition period, Commission Delegated Regulation (EU) 2026/699 rewrites Annex X of Regulation (EU) 2018/858 and creates Appendix 4, establishing for the first time a binding catalogue of permissible OBD security controls and three protected access channels (Annex X §2.9: the serial OBD port, other on-board access including Ethernet/DoIP, and remote access):
Device Authentication (Read Exemption)
OEMs may authenticate diagnostic devices, but reading diagnostic trouble codes (DTCs), reading the VIN, and access via universal OBD scanners are explicitly exempt. Manufacturers may not charge a fee merely to enable access under Annex X §2.9.
Economic Operator Authentication
Required where diagnostic sessions perform active modification of vehicle parameters (coding, configuration, actuator changes). Credentials issued under Appendix 4 must also be portable to off-board multi-brand platforms.
Individual Technician Identification
Permanent modifications (such as ECU reprogramming) require identifying the individual technician. Anti-theft security-related RMI additionally requires SERMI accreditation (live in the UK since 1 April 2026 via RMISC and Digidentity, valid 5 years).
Appendix 4 also sets hard deadlines for OEMs to supply "electronic directly processable datasets" (such as machine-readable ODX/PDX or CSV rather than static PDFs) at the same level of detail used by proprietary dealer tools: 23 December 2026 for software, web services, and implementation data for independent diagnostic tool manufacturers (vehicles first type-approved after 1 September 2020) and general diagnostics APIs, followed by 23 June 2027 for electronic maintenance record and reprogramming APIs.
EU Cyber Resilience Act (CRA, Regulation (EU) 2024/2847)
While UN R155 and ISO/SAE 21434 bind automakers and Tier-1 suppliers, aftermarket diagnostic apps and connected OBD adapters placed on the EU market fall under the Cyber Resilience Act (CRA) as "products with digital elements". Mandatory 24-hour early-warning reporting of actively exploited vulnerabilities to ENISA / national CSIRTs took effect on 11 September 2026 (with final reports within 14 days of a fix), and full CRA compliance including vulnerability-handling policies, security update commitments, and machine-readable CycloneDX / SPDX Software Bills of Materials (SBOMs) becomes mandatory on 11 December 2027. See our public Security & Vulnerability Disclosure Policy for how EvmetricsOBD handles security reporting.
↑ Back to indexGlobal Regulatory Roadmap: US vs EU vs UK (2020 to 2035)
Vehicle diagnostic technology is converging globally around UDS, Secure Gateways, and Ethernet, yet the legal frameworks governing who may read and own vehicle data diverge sharply between the United States, the European Union, and the United Kingdom. For a shorter narrative overview, see our companion blog essay The OBD port isn't dying, it's changing: car diagnostics to 2030.
Two Separate Legal Lanes in Europe: Owner Data vs Professional RMI
LANE 1: OWNER / CONSUMER ("My Car, My Data")
+-----------------------------------------------------------------------+
| EU Data Act (Regulation (EU) 2023/2854) + GDPR |
| - Free user access to raw & pre-processed vehicle data (Sept 2025) |
| - Access-by-design on newly placed EU vehicles (12 Sept 2026) |
| - User can direct OEM data to any third-party service of choice |
| - Same-quality rule: OBD port alone is not enough if OEM cloud is |
| richer or more timely (Commission Vehicle Guidance, Sept 2025) |
+-----------------------------------------------------------------------+
LANE 2: PROFESSIONAL / INDEPENDENT OPERATOR (Workshops & Tool Makers)
+-----------------------------------------------------------------------+
| Type Approval Regulation (EU) 2018/858 Annex X + Appendix 4 (2026/699)|
| - Unrestricted, standardised, non-discriminatory OBD & RMI access |
| - Point 3.1 exempts DTC reads, VIN reads & universal OBD scanners |
| - Machine-readable tool-maker datasets & APIs (Dec 2026 / June 2027) |
| - SERMI accreditation for security-related anti-theft RMI |
+-----------------------------------------------------------------------+
Euro 7, UN GTR No. 22 & the EU Battery Passport
Standardised EV Battery Durability & SoH Readout
Applying to new EU M1/N1 types from 29 November 2026 and all new EU and UK M1/N1 registrations from 29 November 2027 (UK small-volume from 1 July 2030), Euro 7 introduces legally binding minimum traction-battery durability thresholds and mandates an on-board State of Health monitor (aligned with UN GTR No. 22 State of Certified Energy / Range, alongside OBM and OBFCM) accessible to users and readable through the OBD port:
- M1 Passenger Cars: >=80% energy retention to 5 years or 100,000 km; >=72% to 8 years or 160,000 km.
- N1 Light Commercial Vans: >=75% to 5 years or 100,000 km; >=67% to 8 years or 160,000 km.
The Digital Battery Passport (From 18 February 2027)
Every EV battery over 2 kWh placed on the EU market from 18 February 2027 requires a digital Battery Passport (Article 77, Annex XIII) linked via QR code. It records static manufacturing, carbon footprint, and chemistry data alongside dynamic State of Health metrics (Article 14).
Access is tiered: public baseline data for everyone, deeper health and repair records for persons with a legitimate interest (such as independent repairers and remarketers), and full compliance data for authorities. Exact access rules await the Commission's implementing access act; meanwhile, millions of pre-2027 EVs on the used market still depend on direct OBD/UDS BMS diagnostics.
Interactive Regulatory & Standards Timeline (2020 to 2035)
| Date / Model Year | Region | Instrument or Standard | Practical Diagnostic Impact |
|---|---|---|---|
| 2020-09-01 | EU | Reg. (EU) 2018/858 (Art. 61 & Annex X) | Establishes unrestricted, standardised, non-discriminatory OBD and RMI access for independent operators, including tool makers. |
| 2023-06-01 | UK | UK Motor Vehicle Block Exemption Order | Protects independent operators' access to technical information, tools, and training in the UK aftermarket through 31 May 2029. |
| 2023-10-05 | EU | ECJ Carglass Ruling (Case C-296/22) | Holds OEMs cannot cite UN R155 cybersecurity to impose OBD access restrictions beyond Regulation 2018/858. |
| 2023-11-09 | EU | ECJ Scania Ruling (Case C-319/22) | Confirms VINs can be personal data when linkable to a person, but Article 61 is a lawful basis under GDPR Art. 6(1)(c) so OEMs cannot block aftermarket VIN access. |
| 2025-03-17 | US | US Commerce / BIS Connected-Vehicle Rule | Bans China- or Russia-linked connected-vehicle software from MY2027 and hardware from MY2030 (affecting US availability of affected platforms). |
| 2025-09-12 | EU | EU Data Act (2023/2854) & Vehicle Guidance | Owner right to connected-car data and third-party sharing begins; guidance establishes the "same quality as data holder" principle. |
| 2025-12 | Global | SAE J1978-2 (Revised) | Specifies scan-tool discovery procedures to distinguish J1979, J1979-2 (OBDonUDS), and J1979-3 (ZEVonUDS) vehicles. |
| MY2026 | US | CARB 13 CCR 1962.5 (SAE J1979-3) | 40% phase-in of standardised EV diagnostics (ZEVonUDS: SoH, charge rate) on US EVs; ACC II waiver revocation currently under federal litigation. |
| 2026-04-01 | UK | UK SERMI Scheme Launch | UK joins European SERMI accreditation for security-related (anti-theft) RMI via RMISC and Digidentity phone-wallet authentication. |
| 2026-04 | Global | SAE J1979-2 (Revised) | Updated OBDonUDS specification standardising UDS-based generic diagnostics for combustion vehicles. |
| 2026-06-23 | EU | Delegated Reg. (EU) 2026/699 (Appendix 4) | In force with no transition: defines 3-tier OBD security rules, exempts DTC/VIN reads and universal scanners from device auth, covers OBD/DoIP/remote channels. |
| 2026-07-01 | US | US EPA Freedom to Fix (IACD-2026-08) | Restates Clean Air Act duties to supply emissions repair and enhanced diagnostic data to tool makers; deprioritises enforcement on good-faith self-repair (tampering excluded). |
| 2026-09-11 | EU | Cyber Resilience Act (EU) 2024/2847 Reporting | 24-hour early-warning reporting to ENISA / national CSIRTs goes live for actively exploited vulnerabilities in software and connected adapters. |
| 2026-09-12 | EU | EU Data Act Access-by-Design | New connected vehicles placed on the EU market must provide direct, secure, default user data access (Digital Omnibus negotiations ongoing). |
| 2026-11-29 | EU | Euro 7 (EU 2024/1257): New M1/N1 Types | Mandatory EV traction-battery durability, OBM, OBFCM, and user-readable SoH via the OBD port on new EU vehicle type approvals. |
| 2026-12-23 | EU | Appendix 4 Tool-Maker Datasets & APIs | OEMs must deliver machine-readable datasets, software, web services, and general-diagnostics API documentation to independent tool manufacturers. |
| MY2027 | US | CARB J1979-2 (100% ICE) & J1979-3 (100% EV) | Full US transition of generic light- and medium-duty OBD onto UDS; heavy-duty engine families also move to OBDonUDS. |
| 2027-02-18 | EU | EU Battery Passport (Reg. 2023/1542) | Mandatory digital battery passport for EV batteries >2 kWh with tiered State of Health access. |
| 2027-06-23 | EU | Appendix 4 Maintenance & Reprogramming APIs | OEM API deadlines for electronic maintenance records (Annex X §6.1.1) and software update / reprogramming interfaces. |
| 2027-09-01 | US | Maine Telematics Right-to-Repair (LD 2211) | Reported deadline for owner-authorised telematics access platform (alongside Massachusetts Question 1; federal REPAIR Act remains un-enacted). |
| 2027-11-29 | EU | Euro 7: All New EU M1/N1 Vehicles | Standardised battery SoH monitor and durability rules expand from new type approvals to every new passenger car and van sold in the EU. |
| 2027-11-29 | UK | UK Euro 7: New Unlimited-Volume Light Duty | Confirmed UK Euro 7 adoption with GTR 22 battery health readable by owners (small-volume manufacturers follow on 1 July 2030). |
| 2027-12-11 | EU | Cyber Resilience Act Full Compliance | Full EU CRA product cybersecurity, SBOM, conformity assessment, and open-source steward rules enter into force. |
| 2028-04-01 | UK | UK eVED Pay-Per-Mile (EV & PHEV) | 3p/mile for EVs and 1.5p/mile for PHEVs; odometer readings submitted at renewal and cross-checked with MOT mileage logs, elevating odometer audit integrity. |
| 2028-05-31 | EU | EU Motor Vehicle Block Exemption (MVBER) Expiry | EU competition rules protecting independent repair expire; Commission review explicitly highlights electrification, digitalisation, and vehicle data access. |
| 2029-05-31 | UK | UK MVBEO Expiry | End of current UK aftermarket block exemption window; replacement regime to watch alongside EU MVBER. |
| 2030 | UK | UK Phase-Out of New Pure Petrol & Diesel Cars | New pure ICE car sales end in the UK (hybrids permitted until 2035), while US BIS connected-vehicle hardware restrictions reach MY2030. |
Vehicle Data APIs, COVESA VSS, CarPlay, Android Auto & AAOS
Modern vehicle diagnostics does not end at the 16-pin connector. Complete vehicle timelines combine local OBD/UDS telemetry with national inspection registries, manufacturer cloud APIs, open signal taxonomies, and native in-car operating systems.
Public Vehicle Registry & Inspection APIs (Privacy & Architecture)
Public vehicle APIs reflect a sharp legal divide. Under EU and UK GDPR, both a Vehicle Registration Number (VRN) and a linkable VIN constitute personal data requiring a documented Article 6 lawful basis (and APIs omit keeper names/addresses). In the United States, the federal Driver's Privacy Protection Act (DPPA, 18 U.S.C. § 2721) protects personal DMV identity records while treating VINs and mechanical specs as public transactional indexes.
| Authority / API | Region | Authentication & Method | Key Diagnostic & Timeline Value |
|---|---|---|---|
| DVLA Vehicle Enquiry Service (VES) | UK | HTTP POST JSON body + x-api-key (VRN kept out of URLs per OWASP) |
19 authoritative fields: tax/SORN status, MOT validity, CO2, Euro status, fuel type, and dateOfLastV5CIssued (flags logbook cloning or undocumented flipping). |
| DVSA MOT History API | UK | OAuth 2.0 Client Credentials (60-min Bearer token) + X-API-Key |
Full historical inspection pass/fail logs, defect advisories, and verified chronological odometer readings (essential external cross-check against ECU mileage). |
| RDW Open Data (SODA / SoQL) | Netherlands | REST / SoQL GET (app token lifts throttling) | Open national registry including vehicle specs, APK inspection expiry, and real-world emissions/consumption tracking. |
| NHTSA vPIC API | United States | Public REST (POST batch decode avoids logging VINs in request URLs) + offline SQL dumps |
Authoritative 17-character VIN decoding for 1981+ vehicles: model year, make, model, trim, plant, powertrain, and safety equipment. |
| NMVTIS (via Approved Providers) | United States | Commercial wrapper APIs (DOJ-restricted direct access) | Title brands (salvage, flood, lemon, rebuilt), insurance total-loss flags, and odometer fraud tracking across US states. |
| OEM Connected-Car & Data Act APIs | EU / Global | OAuth 2.0 Owner Consent (direct OEM portals or aggregators) | Manufacturer cloud endpoints (e.g., Volvo Connected Vehicle/Energy APIs, VW Group EU Data Act, BMW CarData, Hyundai/Kia, or aggregators such as High Mobility, Smartcar, and DIMO) complement dongle telemetry where owners grant consent. |
Open Standards & In-Car Operating Systems
COVESA VSS, opendbc & OBDb
COVESA Vehicle Signal Specification (VSS) defines a protocol-neutral hierarchical taxonomy (such as Vehicle.Powertrain.TractionBattery.StateOfHealth and CellVoltage) used across software-defined vehicles and Android Automotive vendors. Even mature open specs still have EV diagnostic gaps: as of late 2026, VSS's traction-battery tree had no standard signals for high-voltage isolation resistance or HV contactor state, highlighting why real-world OBD research feeds back into open standards alongside community initiatives like opendbc, OVMS, and OBDb.
Apple CarPlay & Android Auto
Both CarPlay (driving-task entitlement) and Android Auto (Car App Library) use a phone-as-OBD-bridge architecture: the phone maintains the BLE, Wi-Fi, or USB adapter connection and decodes UDS/OBD frames, while the head unit renders strictly distraction-optimised templates. Apple's CarPlay guidelines cap live engine/telemetry screen repaints to at most once every 10 seconds, and Android Auto restricts moving screens to concise list/grid templates without free-form animated gauges.
Android Automotive OS (AAOS) & Standalone Surfaces
On AAOS, vehicle signals flow through the Vehicle HAL (VHAL), including an OBD-II frame model (CarDiagnosticManager, OBD2_LIVE_FRAME, OBD2_FREEZE_FRAME). However, roughly 180 of ~250 VHAL properties and CAR_DIAGNOSTICS sit behind OEM signature permissions inaccessible to third-party Play Store apps, making parked UIs and phone bridges the practical third-party routes. For classic pre-OBD vehicles or locked OEM cockpits, standalone owner-controlled hardware offers an alternative path: see our Evmetrics Surface Architecture Study.
Battery Health Assurance, Industry Certifications & SHA-256 Verification
As used electric vehicles mature, buyers, dealers, and fleet managers face a trust problem: how do you know an EV battery health report has not been edited, and what does a "certified" battery test actually prove? Different industry assurance layers prove very different things.
| Assurance Layer | What It Actually Proves | What It Does Not Prove |
|---|---|---|
| BMS OBD Readout (Unmanipulated) | Reports the exact State of Health, cell voltage spread, module temperatures, isolation resistance, and DTCs held inside the car's own Battery Management System. | Does not independently stress-test cell chemistry; reflects the OEM BMS algorithm and can be affected by recall caps or uncalibrated BMS estimators. |
| CARA Approved (Basic vs Premium) | EU remarketing trademark (Car Remarketing Association Europe). Basic validates that an unmanipulated BMS readout matches OEM dealer tools within +/-1.0% across 6 reference models and >=80% European BEV fleet coverage. Premium requires an independent active stress test. |
CARA explicitly notes Basic "is not an independent assessment" of the cells because it relies on OEM BMS values; built primarily for remarketing/lease-return workflows. |
| Independent Lab Validation (ISO/IEC 17025 / TÜV) | Accredited test houses (such as UTAC Millbrook battery labs or TÜV SÜD / TÜV Rheinland software audits) benchmark BMS/UDS unit conversions against calibrated discharge equipment. | Applies only to the specific vehicle models, firmware versions, and software builds actually tested. |
| IMI TechSafe & MOT Inspections | IMI TechSafe certifies technicians and approved training centres for high-voltage EV safety. Statutory MOT / APK checks verify roadworthiness and record odometer history. | IMI does not certify consumer apps; the UK MOT does not currently test traction-battery State of Health (though industry groups continue to lobby for it). |
| SHA-256 Cryptographic Report Verification | Proves mathematically that an exported HTML or PDF report is byte-for-byte identical to the file generated and fingerprinted at scan time, with zero post-export tampering, without ever uploading the vehicle's data. | Proves file integrity and registration timestamp only; it does not make the vehicle's underlying sensor readings calibrated lab truth. |
EvmetricsOBD does not hold third-party certification seals from CARA, TÜV, UTAC, or IMI and never claims to. Instead, we publish an open, free, zero-signup verification method: when a user enables Verifiable Reports, the app registers only the report's 64-character SHA-256 fingerprint (never the VIN, readings, or report file). Any buyer, seller, or workshop can drop the report into our client-side Report Verifier (or hash it locally with standard command-line tools like shasum -a 256) to prove the file is untouched since the moment it was created.
A to Z Automotive Diagnostics, OBD-II, UDS & EV Glossary
Concise definitions of the standards, acronyms, protocols, and regulatory terms referenced throughout modern vehicle diagnostics.
- AAOS Android Automotive OS
- Full Android operating system running natively on a vehicle's infotainment head unit, accessing vehicle data through the Vehicle HAL (VHAL) rather than phone projection.
- APIPA 169.254.0.0/16
- Automatic Private IP Addressing (link-local IPv4) used as a fallback by DoIP vehicle gateways when no external DHCP server is present.
- Appendix 4 EU 2026/699
- 2026 rewrite of Annex X to EU Type Approval Regulation 2018/858 setting permissible OBD security measures, read exemptions (Point 3.1), and machine-readable tool-maker data deadlines.
- AT Commands ELM327
- ASCII configuration commands (such as
ATZ,ATH1,ATSP6,ATSH,ATCRA) sent to an ELM327 or STN adapter to configure protocol, headers, filters, and timeouts. - BECM / BMS Battery Control
- Battery Energy Control Module / Battery Management System: the primary EV ECU monitoring pack voltage, current, cell balance, temperatures, isolation, contactors, SoC, and SoH.
- CAN / CAN FD ISO 11898
- Controller Area Network: differential two-wire vehicle bus. Classical CAN carries up to 8 bytes at 500 kbaud; CAN FD (Flexible Data-Rate) carries up to 64 bytes at up to 8 Mbaud.
- CARB California Air Resources Board
- US state regulator whose OBD II (13 CCR 1968.2) and ZEV data (13 CCR 1962.5) rules drive North American adoption of SAE J1979-2 (OBDonUDS) and J1979-3 (ZEVonUDS).
- COVESA VSS Vehicle Signal Spec
- Open-source, protocol-independent data tree standardising names, data types, and units for vehicle signals across connected cars and software-defined vehicle stacks.
- CRA EU 2024/2847
- EU Cyber Resilience Act governing security, 24-hour vulnerability reporting (from Sept 2026), and SBOMs (full compliance Dec 2027) for commercial products with digital elements.
- DID Data Identifier
- Two-byte hexadecimal address (
0000toFFFF) queried via UDS Service0x22(ReadDataByIdentifier) to read OEM-specific or standardised parameters. - DoIP ISO 13400
- Diagnostics over Internet Protocol: transports UDS messages over 100BASE-TX Automotive Ethernet through the J1962 connector using UDP/TCP port 13400 and Pin 8 activation.
- DTC & FTB SAE J2012
- Diagnostic Trouble Code (5-char
P/B/C/Ucode). UDS adds a 3rd Failure Type Byte (FTB) specifying the electrical failure subtype (short, open, stuck, plausibility). - EOBD European OBD
- European equivalent of US OBD-II, mandatory on EU petrol cars from 2001 and diesel cars from 2004, evolving alongside Euro 7 battery and on-board monitoring rules.
- Euro 7 EU 2024/1257
- European and UK vehicle regulation introducing mandatory EV battery durability limits, on-board monitoring (OBM), and OBD-readable battery State of Health from 2026 to 2027.
- GATT / BLE CoreBluetooth
- Generic Attribute Profile used by Bluetooth Low Energy OBD adapters (typically service UUIDs
FFF0orFFE0) to emulate serial streams on iOS without Apple MFi. - ISO 6469-3 / UN R100 HV Safety
- International EV high-voltage electrical safety standards establishing the 500 Ohm per volt minimum DC isolation resistance requirement between HV circuits and chassis ground.
- ISO-TP ISO 15765-2
- Transport protocol that segments diagnostic payloads larger than 8 bytes into First, Flow Control, and Consecutive CAN frames so multi-frame VINs, DTCs, and cell arrays transfer cleanly.
- J1962 SAE / ISO 15031-3
- The physical trapezoidal 16-pin female diagnostic connector installed inside passenger vehicles since 1996.
- J1978-2 Scan Tool Standard
- SAE specification defining how modern scan tools detect whether a connected vehicle speaks legacy J1979, J1979-2 (OBDonUDS), or J1979-3 (ZEVonUDS).
- J1979 / -2 / -3 OBD / UDS
- SAE diagnostic service standards: legacy J1979 (Modes
01to0A), J1979-2 (OBDonUDS for combustion vehicles), and J1979-3 (ZEVonUDS for electric vehicles). - MFi ExternalAccessory
- Apple's Made for iPhone licensing programme required for Classic Bluetooth SPP accessories on iOS, including OBDLink MX+ and Vgate vLinker FS/MS Bluetooth.
- MIL Check Engine Lamp
- Malfunction Indicator Lamp illuminated on the instrument cluster when a confirmed emissions or powertrain fault code matures.
- NRC Negative Response Code
- Single-byte error code returned inside a UDS
0x7Fframe explaining why an ECU refused a request (e.g.,0x31Request Out of Range,0x33Security Access Denied). - OBFCM & OBM Euro 7 Monitoring
- On-Board Fuel/Energy Consumption Monitoring (OBFCM) and On-Board Monitoring (OBM): continuous real-world energy and emissions counters readable via the OBD port.
- ODX / PDX ISO 22901
- Open Diagnostic Data Exchange: XML-based machine-readable format used by automakers to describe ECU DIDs, byte scaling, DTCs, and routines.
- PID Parameter ID
- One-byte code used in legacy SAE J1979 Mode
$01/$02requests to retrieve a standard powertrain measurement (for example,0Cfor RPM,42for control module voltage). - RMI Repair & Maintenance Info
- Legal category under EU/UK Type Approval Regulation 2018/858 covering all diagnostic, service, wiring, and technical data OEMs must supply to independent operators.
- SBOM CycloneDX / SPDX
- Software Bill of Materials: machine-readable inventory of software dependencies and cryptographic hashes required under the EU Cyber Resilience Act.
- SERMI Security RMI Scheme
- European and UK accreditation framework vetting workshops and individual technicians to access anti-theft security-related RMI (keys, immobilisers, security coding).
- SGW Secure Gateway
- On-board firewall ECU separating the OBD-II connector from internal vehicle buses; allows standard reads while gating writes and selected UDS services behind authentication.
- SOCE & SOCR UN GTR No. 22
- State of Certified Energy and State of Certified Range: internationally harmonised EV battery durability metrics referenced by Euro 7.
- STN Silicon OBD Solutions
- High-performance automotive multiprotocol interpreter ICs (STN1110, STN2120, STN2255) that extend the ELM327 command set with large buffers, fast ISO-TP, and sleep power control.
- UDS ISO 14229
- Unified Diagnostic Services: the universal automotive diagnostic application protocol used across CAN, CAN FD, and DoIP for DID reading (
0x22), DTCs (0x19), and security (0x27/0x29). - UN R155 & R156 UNECE WP.29
- Mandatory international vehicle regulations governing automaker Cybersecurity Management Systems (CSMS) and Software Update Management Systems (SUMS).
Frequently Asked Questions
Is the OBD-II port disappearing on electric cars?
What is the difference between OBD-II (SAE J1979) and UDS (ISO 14229)?
$01 to $0A) and 1-byte PIDs. ISO 14229 UDS is the complete dealer-grade diagnostic protocol running across every ECU in the car, using 2-byte Data Identifiers via Service 0x22, 3-byte DTCs via Service 0x19, and supporting EV battery management systems, HVAC, TPMS, and chassis modules that generic Mode $01 never included.
What are SAE J1979-2 (OBDonUDS) and SAE J1979-3 (ZEVonUDS)?
$01/$03/$04/$09 requests with UDS equivalents (22 F4xx, 22 F8xx, Service 0x19 with 3-byte DTCs, and Service 0x14) over the same J1962 port and CAN bus, mandated by CARB for MY2027+ light- and medium-duty combustion vehicles. SAE J1979-3 (ZEVonUDS) brings standardised EV battery SoH and charge-rate identifiers onto UDS (40% of MY2026 EVs, 100% of MY2027 EVs, subject to pending US waiver litigation). SAE J1978-2 defines how scan tools detect which protocol a vehicle speaks.
How does DoIP (ISO 13400) work through the standard 16-pin OBD-II port?
169.254.x.x), the tool discovers the vehicle on UDP port 13400, establishes TCP port 13400 with a Routing Activation Request (0x0005), and exchanges UDS payloads inside 0x8001 Diagnostic Messages.
Can a standard ELM327 adapter read CAN FD or DoIP?
Does a Secure Gateway (SGW) block standard OBD-II scanners?
$01, $03, $07, $09) and VIN reads while blocking writes, coding, actuator tests, and often manufacturer-specific UDS services. In the EU, Delegated Regulation (EU) 2026/699 (Appendix 4 Point 3.1) explicitly exempts reading DTCs, reading the VIN, and universal OBD scanners from device authentication.
What is the difference between SERMI and OEM Secure Gateway access?
What does Euro 7 require for EV battery State of Health?
Why do Classic Bluetooth adapters like OBDLink MX+ require Apple MFi on iPhone?
ExternalAccessory framework, requiring per-app enrollment in the adapter maker's MFi Product Plan. Bluetooth Low Energy (BLE) adapters (such as OBDLink CX, Vgate vLinker MC+, and iCar Pro 2S) use CoreBluetooth GATT services and work on iPhone and iPad without MFi enrollment. On Android, both Classic Bluetooth and BLE adapters work natively.
How is EV high-voltage isolation resistance evaluated under ISO 6469-3 and UN ECE R100?
226 kOhm. Readings significantly below that threshold warn of moisture ingress, degraded HV harness insulation, or a leaking HV load (heater, compressor, or on-board charger).
What does the EU Data Act mean for car owners and vehicle data?
Does an OBD battery health report replace an independent lab test or CARA certification?
Primary Standards, Legislation & Authoritative Sources
- CARB: SAE J1979-2 (OBDonUDS) Guidance
- CARB: 13 CCR 1962.5 (ZEV Data Standardisation / J1979-3)
- SAE International: J1979-2 (April 2026 Revision)
- SAE International: J1978-2 (December 2025 Revision)
- EUR-Lex: Delegated Regulation (EU) 2026/699 (Appendix 4)
- EUR-Lex: Regulation (EU) 2024/1257 (Euro 7)
- EUR-Lex: EU Commission Guidance on Vehicle Data (Data Act)
- UK legislation.gov.uk: Retained Regulation 2018/858 Annex X
- SERMI Scheme: Security-Related RMI Accreditation
- US EPA: Freedom to Fix Guidance (IACD-2026-08)
- GOV.UK: Electric Vehicle Excise Duty (eVED) Consultation Outcome
- Tesla Model Y Service Manual: DoIP via J1962 (April 2024+)
- COVESA: Vehicle Signal Specification (VSS) on GitHub
- AOSP: Android Automotive OS & Vehicle HAL Documentation
- US NHTSA: vPIC Vehicle Identification Number API
- Apple Developer: Multicast Networking Entitlement (iOS)
Deep EV & Vehicle Diagnostics on iPhone, iPad & Android
Read live battery telemetry, UDS identifiers, charging curves, and SHA-256 verifiable reports with standard ELM327/STN adapters. No proprietary lock-in.
Mapped ECUs, Real Case Studies & Report Verifier
Inspect mapped ECU silicon across platforms, read real-car fault investigations, verify a report fingerprint locally, or explore standalone owner-controlled cockpit displays.