DoIP is a transport protocol used in the automotive domain.
The purpose of the protocol is:
- Transmission of UDS (Unified Diagnostic Services / ISO14229-1) data
- Discovery of ECUs
- Establishing connection to ECUs (e.g. via diagnostic gateways)
- Flow control
DoIP makes use of the TCP and UDP protocols and is often used via Ethernet.
The following resources give more insight into the details of DoIP:
- ISO.org - ISO 13400-2:2019
- Autosar.org - AUTOSAR_SWS_DiagnosticOverIP
- Autosar Academy
- intrepidcs.net.cn - Slidedeck
You can find a DoIP client example in the integration tests. This tests can run against the example server implementation.
RUST_LOG=trace cargo run --example server
cargo test -- --nocapture