/doip

Rust client and server implementation for DoIP

Primary LanguageRustMIT LicenseMIT

DoIP - ISO13400-2

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.

Protocol details

The following resources give more insight into the details of DoIP:

Getting Started

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