uds-client-rs
is a Rust library for handling UDS (Unified Diagnostic Services) communication over CAN, implementing ISO 14229. It enables interaction with ECUs (Electronic Control Units) in automotive applications.
- Supports Single Frame (SF), First Frame (FF), Consecutive Frame (CF), and Flow Control (FC) messages.
- Implements ISO 15765-2 CAN Transport Protocol.
- Async support using
tokio
. - UDS services such as diagnostic session control, ECU reset, and real-time data requests.
Add the following to your Cargo.toml
:
[dependencies]
uds-client-rs = "0.1"
tokio = { version = "1", features = ["full"] }
To run the example, please follow below commands:
cd examples/usd_client_ui
cargo run --release
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)