#diagnostics #ecu #dpdu #vci #iso22900

dpdu-rust

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

3 releases

0.8.6 May 26, 2022
0.8.5 May 24, 2022
0.8.0 May 18, 2022

#6 in #ecu

MIT license

43KB
679 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.

Dependencies

~105KB