Crates.io | zlgcan |
lib.rs | zlgcan |
version | 0.1.0-beta0 |
source | src |
created_at | 2024-09-04 06:39:42.864988 |
updated_at | 2024-11-15 12:00:15.140172 |
description | A Cross-platform ZLGCAN driver. |
homepage | https://github.com/zhuyu4839/ecu-proto-rs |
repository | https://github.com/zhuyu4839/ecu-proto-rs |
max_upload_size | |
id | 1362900 |
size | 301,809 |
zlgcan is a cross-platform driver for ZLG(周立功) device. Including windows and linux.
It is a part of rust-can driver.
It also can use UDS-protocol directly.
Please refer to examples
for usage examples
To use zlgcan in your Rust project, add it as a dependency in your Cargo.toml
:
[dependencies]
zlgcan = { version="lastest-version" }
Create folder and ensure the file of folder like:
├── bitrate.cfg.yaml
├── linux
│ └── x86_64
└── windows
├── x86
└── x86_64
and copy all files into correct directory.
The basic library. The bitrate.cfg.yaml
Create zcan.env
at your project path for special ZCAN_LIBRARY
path, For example:
ZCAN_LIBRARY=/path/to/your/created
We're always looking for users who have thoughts on how to make zlgcan
better, or users with
interesting use cases.
Of course, we're also happy to accept code contributions for outstanding feature requests!