https://github.com/tuemb/uds-client-rs
UDS client in Rust
https://github.com/tuemb/uds-client-rs
can-bus iso1422 iso15765-2 uds
Last synced: 9 months ago
JSON representation
UDS client in Rust
- Host: GitHub
- URL: https://github.com/tuemb/uds-client-rs
- Owner: TuEmb
- License: apache-2.0
- Created: 2025-03-21T09:16:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-15T08:47:54.000Z (9 months ago)
- Last Synced: 2025-07-21T08:28:50.487Z (9 months ago)
- Topics: can-bus, iso1422, iso15765-2, uds
- Language: Rust
- Homepage:
- Size: 104 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# 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`:
```toml
[dependencies]
uds-client = "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:
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)