Svashasan Logo
Simulated data

Vehicle Communication and Networking · Diagnostics protocol

Unified Diagnostic ServicesUDS

Also known as ISO 14229, UDS on CAN, UDSonCAN, UDSonIP, diagnostic services

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

The ISO 14229 application-layer protocol for vehicle diagnostics. It defines services identified by a one-byte service ID, such as session control, reading data and fault codes, security access, routine control and software download, independently of the underlying network.

Explanation

UDS is specified in ISO 14229-1 and mapped onto networks by other parts and standards: UDS on CAN via ISO-TP, UDS on IP via DoIP, and variants for LIN and other buses. A client (tester) sends a request, and the server (ECU) returns either a positive response or a negative response. A negative response carries a negative response code (NRC) explaining the refusal, for example 0x78 (response pending) when the ECU needs more time.

Commonly used services include DiagnosticSessionControl (0x10), ECUReset (0x11), ClearDiagnosticInformation (0x14), ReadDTCInformation (0x19), ReadDataByIdentifier (0x22), SecurityAccess (0x27), CommunicationControl (0x28), Authentication (0x29), WriteDataByIdentifier (0x2E), RoutineControl (0x31), RequestDownload (0x34), TransferData (0x36) and TesterPresent (0x3E). Sessions and security levels control which services are available, so an ECU might allow reprogramming only in a programming session after successful authentication.

ISO lists ISO 14229-1:2026 (Edition 4) as the current edition, replacing the 2020 edition that introduced the Authentication service. Data identifiers and many routines are manufacturer-specific, so a generic UDS tool still needs OEM descriptions to interpret most data.

How it works

A request starts with the service identifier byte, often followed by a sub-function and parameters, for example 0x22 plus a two-byte data identifier. The server checks that the service is supported, allowed in the active session and security state, and that the conditions are correct. It then returns the response data, using a response identifier in the 0x40 to 0x7F range, or a negative response of 0x7F, the service ID and an NRC.

Automotive applications

  • Reading and clearing diagnostic trouble codes
  • Reading live data and configuration by identifier
  • ECU reprogramming in workshops and over the air
  • End-of-line configuration and routine tests

Example

A tester sends 22 12 34 (ReadDataByIdentifier for an OEM-defined identifier 0x1234). The ECU needs time to collect the data, so it first answers 7F 22 78 (response pending), then sends the positive response with the record. Without a programming session and authentication, a RequestDownload (0x34) would be refused.

An illustrative example: any figures in it are worked numbers, not measurements.

Standard details

Standard
ISO 14229-1
Edition
ISO 14229-1:2026 (Edition 4)
Publication status
Published (2026-06)
Scope
Specifies data-link-independent requirements for diagnostic communication services between a client and vehicle ECUs.
How this was checked
Direct fetch of iso.org returned HTTP 403; edition, date and status from the iso.org catalogue as returned by web search. ISO 14229-1:2020 and its 2022 amendment are listed as withdrawn. Verify against the live ISO page before citing in compliance documents.

References

  1. ISO 14229-1:2026 Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer (opens in a new tab)

    ISO · Standard · Direct fetch of iso.org returned HTTP 403; details taken from the iso.org catalogue entry as returned by web search on 2026-12-06. · retrieved 6 December 2026

  2. Specification of Diagnostic Communication Manager (Document UID 18), R26-11 (opens in a new tab)

    AUTOSAR · Specification · 1 Introduction and functional overview; 7.4.2 UDS Services · retrieved 6 December 2026

    “The Dcm module provides a common API for diagnostic services.”

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.