9 stable releases (3 major)

3.0.2 Feb 25, 2023
2.1.0 May 15, 2022
2.0.2 Apr 21, 2022
1.0.1 Apr 20, 2022
0.2.0 May 8, 2017

#1667 in Hardware support

Download history 12/week @ 2024-02-19 51/week @ 2024-02-26 3/week @ 2024-03-04 117/week @ 2024-04-01

118 downloads per month
Used in 2 crates

MIT/Apache

1MB

Contains (Windows DLL, 560KB) libs/x86_64/PCANBasic.dll, (Windows DLL, 500KB) libs/x86/PCANBasic.dll, (ELF exe/lib, 115KB) libs/x86_64/libpcanbasic.so.4.6.2

pcan-basic-sys

crates Documentation Crate License Dependency Status

Rust bindings for version V4.6.2 of the PCAN-Basic API provided by the PEAK-System Technik GmbH.

Installation

Windows

  • Install the PCAN-Basic API driver
  • Install Rust
  • Install a Rust Windows toolchain. Install at least one of the following toolchains:
    • rustup toolchain install stable-i686-pc-windows-gnu
    • rustup toolchain install stable-x86_64-pc-windows-gnu
    • rustup toolchain install stable-i686-pc-windows-msvc
    • rustup toolchain install stable-x86_64-pc-windows-msvc
  • Use pcan-basic-sys as a dependency

If you choose MSVC you need to install the Visual Studio toolchain.

Linux

  • Install the PCAN-Basic API driver
  • Install Rust
  • Install a Rust Linux toolchaib. Other Linux toolchains might work as well. Install at least on of the following toolchains:
    • rustup toolchain install stable-i686-unknown-linux-gnu
    • rustup toolchain install stable-x86_64-unknown-linux-gnu
  • Use pcan-basic-sys as a dependency

License / Terms of Usage

The source code of this project is licensed under the MIT/Apache-2.0 license. This implies that you are free to use, share, and adapt it. However, please give appropriate credit by citing the project.

Please read the End User License Agreement of the company PEAK-System Technik GmbH at:

PEAK-System Technik GmbH grants the right to the customer to use the files in this software package as long as this is done in connection with original hardware by PEAK-System or OEM hardware coming from PEAK-System. It is NOT allowed to use any of these files (even not parts) with third-party hardware.

If you are not sure whether you have acquired an appropriate license with the used hardware, please contact our technical support team (support@peak-system.com).

Contact

If you have problems using the software, find mistakes, or have general questions please use the issue tracker to contact us.

Contribution

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

Contributors

No runtime deps

~0–1.8MB
~37K SLoC