DoIP Frame Analysis & DoIP Packet Data Logger Tool

Introduction : The DoIP (Diagnostics over IP) protocol leverages Ethernet to carry diagnostic communication in vehicles.

DoIP Frame Structure

The DoIP (Diagnostics over Internet Protocol) used frame format as per ISO 13400 standard. A DoIP message (per ISO 13400-2) consists of following.

  1. Generic DoIP Header (fixed size - 8 byte) : It contains protocol version, inverse version, payload type and payload length.

  2. Payload (variable, depends on payload type)

DoIP Protocol Frame Structure

DoIP Header

FieldSizeUsage/Descriptio
Protocol Version1 ByteIndicates the DoIP protocol version in use
Inverse Protocol Version1 ByteBitwise inverse (“inverted”) value of the Protocol Version. Helps simple error checking / version mismatch detection.
Payload Type2 bytesA 16-bit identifier that defines what kind of payload follows. Check Table-2 below.
Payload Length4 bytesThe length (in bytes) of the following payload.

Payload Type table-2

Payload Type (Hex)Name/Purpose
0x0000Generic DoIP, Header NACK
0x0001Vehicle Identification Request
0x0002Vehicle Identification Request with EID
0x0003Vehicle Identification Request with VIN
0x0004Vehicle Announcement / Identification Response
0x0005Routing Activation Request
0x0006Routing Activation Response
0x0007Alive Check Request
0x0008Alive Check Response
0x4001DoIP Entity Status Request
0x4002DoIP Entity Status Response
0x4003Diagnostic Power Mode Information Request
0x4004Diagnostic Power Mode Information Response
0x8001Diagnostic Message Request
0x8002Diagnostic Message Positive Acknowledgement (ACK)
0x8003Diagnostic Message Negative Acknowledgement (NACK)

DoIP Data logger tool

ManufacturersProduct with features
Intrepid Control SystemsProduct : neoVI RED 2
Softing Automotive ElectronicsDTS supports monitoring / recording of DoIP traffic
Bosch Automotive Service Solutionsdiagnostic interface KTS560 supports DoIP, another product is KTS590
TEXADoIP NODE adapter : Supports diagnostic operations over automotive Ethernet
Diagnostic Associates LtdDA-DoIP VCI

Summary:

A DoIP packet data logger tool enables capturing, decoding and analyzing DoIP communication. It supports diagnostics, troubleshooting and remote diagnostics in vehicles employing IP based diagnostic networks.