Open a UDS (ISO 14229) diagnostic session over CAN and read stored DTCs from an ECU.

domain: iso.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Establish the transport layer, typically ISO-TP over CAN (ISO 15765-2), addressing the target ECU's request/response CAN IDs.
  2. Send a DiagnosticSessionControl request (service 0x10) to move from the default session into an extended or programming session as needed.
  3. Complete SecurityAccess (service 0x27) seed/key exchange if the target data or sub-function requires it.
  4. Send ReadDTCInformation (service 0x19) with the appropriate sub-function, such as reportDTCByStatusMask, to retrieve stored DTCs and status bytes.
  5. Send periodic TesterPresent (service 0x3E) requests to keep a non-default session alive during a longer diagnostic sequence.
  6. Optionally clear codes with ClearDiagnosticInformation (service 0x14) once the DTCs have been logged.

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans