DoIP — ISO 13400

DoIP Request / Response Playground

Compose Diagnostics-over-IP frames — header (proto/inv/payloadType/length) plus payload — and watch the gateway respond. Tunneled UDS diagnostic messages return both the 0x8002 positive ack and the 0x8001 UDS reply.

Compose request

Quick presets

Response

[ idle — send a request to begin ]

Frames shown include the full DoIP header: 02 FD <PayloadType:2> <Length:4> <Payload>. 0x8001 Diagnostic Messages tunnel UDS bytes between the tester (source 0x0E00) and ECU (target 0x1001).

Service Catalog

DoIP — ISO 13400 · 16 payload types
Payload TypeNameDescriptionRequest formatExample
0x0000Generic DoIP header negative ackSent by a node when an incoming DoIP header cannot be parsed.
NACK code: 00=incorrect pattern, 01=unknown payload type, 02=msg too large, 03=out of memory, 04=invalid payload length
(no client request — server-initiated)00
0x0001Vehicle Identification RequestBroadcast UDP to discover vehicles on the network.no payload
0x0002Vehicle Identification Request with EIDDiscover a specific vehicle by Entity ID (MAC).EID (6 bytes)AA BB CC DD EE FF
0x0003Vehicle Identification Request with VINDiscover a specific vehicle by VIN.
Pass either ASCII (auto-encoded) or 17 hex bytes.
VIN ASCII (17 bytes)W0L000123456789AB
0x0004Vehicle Announcement / Identification ResponseServer announces VIN, logical address, EID, GID, action.(server-initiated)
0x0005Routing Activation RequestTester requests an active TCP routing channel before sending UDS.
Source = 0E00 (tester), Activation Type 00=default, 01=WWH-OBD, E0=central security
Source Addr (2) | Activation Type (1) | Reserved (4) | OEM (4 opt)0E 00 00 00 00 00 00
0x0006Routing Activation ResponseServer confirms or rejects routing activation.(server-initiated)
0x0007Alive Check RequestServer probes tester to keep TCP socket alive.no payload
0x0008Alive Check ResponseTester replies with its source address.Source Addr (2)0E 00
0x4001DoIP Entity Status RequestQuery node type, max sockets, current sockets, max data size.no payload
0x4002DoIP Entity Status ResponseServer returns node type and socket statistics.(server-initiated)
0x4003Diagnostic Power Mode Information RequestCheck if vehicle is in a state allowing diagnostics.no payload
0x4004Diagnostic Power Mode Information ResponseServer reports power mode (0=not ready, 1=ready, 2=not supported).(server-initiated)
0x8001Diagnostic MessageCarries a UDS request payload from tester to ECU.
Tester=0E00, ECU target e.g. 1001, then UDS service bytes (here 22 F1 90 = ReadDataByIdentifier VIN).
Source (2) | Target (2) | UDS bytes (n)0E 00 10 01 22 F1 90
0x8002Diagnostic Message Positive AckECU acknowledges receipt of a Diagnostic Message before the UDS response.(server-initiated)
0x8003Diagnostic Message Negative AckECU rejects the Diagnostic Message at the DoIP layer.(server-initiated)