docs.rs failed to build zlgcan-0.2.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
zlgcan-0.2.2
Overview
zlgcan is a cross-platform driver for ZLG(周立功) device. Include 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
Device list
- USBCAN-I/II
- USBCANFD-200U
- USNCANFD-400U(only channel 1 and channel 2 can be used)
- USBCANFD-800U
Prerequisites
- Rust 1.70 or higher
- Cargo (included with Rust)
Demo
use ;
use ;
Adding to Your Project
To use zlgcan in your Rust project, add it as a dependency in your Cargo.toml
:
[]
= { ="lastest-version" }
Create library and configuration
-
Create folder and ensure the file of folder like:
library ├── bitrate.cfg.yaml ├── linux │ └── x86_64 └── windows ├── x86 └── x86_64
and copy all files into correct directory.
The basic library. The bitrate.cfg.yaml
-
Configurate your device builder:
Known defects
- The timestamp of frame is incorrect.
Contributing
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!