#ecu #diagnostics #dpdu #vci #iso22900

dpdu-api-types

An implementation of the core D-PDU (ISO22900-2) library in Rust

2 unstable releases

0.9.0 Nov 13, 2024
0.8.7 Nov 13, 2024

#4 in #ecu

Download history 223/week @ 2024-11-11 25/week @ 2024-11-18

248 downloads per month

MIT license

46KB
685 lines

D-PDU-RS

An implementation of the core D-PDU (ISO 22900-2) library in Rust

Why ISO 22900-2

ISO 22900-2 is a protocol standard for VCI (Vehicle communication interfaces) that allows for communicating with ECUs in a vehicle from an application using this API as an abstraction layer.

What does this crate do?

Similarly to J2534-rust, this crate contains just the core definitions of the API (Core functions, error types, structures and enum values), therefore, it has to be incorporated in a wrapper library in order to get the API to actually work. For an example of such library, check the rust ecu_diagnostics crate (TBA)

Note that the function and other definition names have been renamed slightly to match the Rust naming convention.


lib.rs:

A core implementation of the D-PDU API (ISO 22900-2).

This crate just provides the type definitions in order to use the API with Rust code.

For a crate that actually uses this API, you can check the ecu_diagnostics crate

NOTE: To match the rust naming convention, enums and structure names have been slightly renamed.

No runtime deps