DoIP
診断用プロトコルに関する覚書。
メッセージ
Ethernet header |
TCP/UDP header |
DoIP Message |
MACヘッダ |
IPヘッダ+TCP/UDPヘッダ?? |
DoIPヘッダ+Payload |
DoIPヘッダ
項目 |
Position (Byte) |
Length (Byte) |
Protocol version |
0 |
1 |
Inverse protocol version |
1 |
1 |
Payload type |
2 |
2 |
Payload length |
4 |
4 |
Payload type specific message content |
8 |
... |
Payload Type
外部ツールからの受信
値 |
Name |
Connection Kind |
0x0001 |
Vehicle Identification request message |
UDP |
0x0002 |
Vehicle identification request message with EID |
UDP |
0x0003 |
Vehicle identification request message with VIN |
UDP |
0x0005 |
Routing activation request |
TCP |
0x0008 |
Alive Check response |
TCP |
0x4001 |
DoIP entity status request |
UDP |
0x4003 |
Diagnostic power mode information request |
UDP |
0x8001 |
Diagnostic message |
TCP |
外部ツールへの送信
値 |
Name |
Connection Kind |
0x0000 |
Generic DoIP header negative acknowledge |
UDP/TCP |
0x0004 |
Vehicle announcement message/vehicle identification response |
UDP |
0x0006 |
Routing activation response |
TCP |
0x0007 |
Alive Check request |
TCP |
0x4002 |
DoIP entity status response |
UDP |
0x4004 |
Diagnostic power mode information response |
UDP |
0x8002 |
Diagnostic message positive acknowledgement |
TCP |
0x8003 |
Diagnostic message negative acknowledgement |
TCP |
参考
https://automotive.softing.com/fileadmin/sof-files/pdf/de/ae/poster/DoIP_faltblatt_softing.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_DiagnosticOverIP.pdf