百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

automotive_diag

> 编程语言
开源

统一诊断服务/UDS (ISO-14229-1)、KWP2000 (ISO-142330)、OBD-II (ISO-9141) 和 DoIP (ISO-13400) 定义,用于与道路车辆 EC 通信

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

统一诊断服务/UDS (ISO-14229-1)、KWP2000 (ISO-142330)、OBD-II (ISO-9141) 和 DoIP (ISO-13400) 定义,用于与道路车辆 EC 通信

Automotive diagnostics in Rust

This crate provides low-level no_std structs and enums of the Unified Diagnostic Services (ISO-14229-1), KWP2000 (ISO-142330), OBD-II (ISO-9141) and DoIP (ISO-13400) diagnostic specifications for the road vehicles in Rust. Optionally supports defmt, serde, and pyo3. See features section in the Cargo.toml file.

Most features have been implemented and documented to handle the most common diagnostic commands and responses. If you find a missing feature, please open an issue or better yet, a pull request.

The long-term goal is to provide all core functionality for message definitions and (de-)serialization, supporting both the no_std and std environments.

Usage

All values are presented as Rust enum, and can be converted to/from their underlying numeric values using the T::from_repr(u8) and u8::from(value). Most enums also have a corresponding ...Byte enums as ByteWrapper to handle the non-standard Extended(u8) values in addition to the defined Standand(T) ones.

…

Development

  • This project is easier to develop with just, a modern alternative to make. Install it with cargo install just.
  • To get a list of available commands, run just.
  • To run tests, use just test.

Credits

The code was forked from the amazing rnd-ash/ecu_diagnostics project. The code was forked from the last MIT-versioned code before the MIT to GPL license migration. Initially, this code was developed as a deprecated auto_uds crate. The DoIP definitions were adapted from the MIT-licensed samp-reston/doip-definitions project.

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or )
  • MIT license (LICENSE-MIT or ) at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言