12 releases

Uses new Rust 2024

0.1.11 May 13, 2025
0.1.10 May 7, 2025
0.1.8 Apr 17, 2025
0.1.4 Mar 28, 2025

#4 in #flow-control

Download history 67/week @ 2025-03-20 470/week @ 2025-03-27 228/week @ 2025-04-03 10/week @ 2025-04-10 173/week @ 2025-04-17 186/week @ 2025-05-01 190/week @ 2025-05-08 55/week @ 2025-05-15

980 downloads per month

MIT/Apache

51KB
913 lines

uds-client-rs

Overview

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.

Features

  • 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.

Installation

Add the following to your Cargo.toml:

[dependencies]
uds-client-rs = "0.1"
tokio = { version = "1", features = ["full"] }

Example

To run the example, please follow below commands:

cd examples/usd_client_ui
cargo run --release

License

Licensed under either of:

Dependencies

~8–17MB
~215K SLoC