-
若想了解什么是
PCAN-USB
,可自行搜索或访问其官网。To know what
PCAN-USB
is, Google it, or visit the official website. -
官方驱动支持
网络
和字符设备
两种接口,但同一时间内只能使用其中一种接口, 且要重新编译、加载驱动。本项目的目标是可同时使用两种接口, 或最低限度不必重新编译和切换驱动。The official driver supports two types of interface:
network
andchardev
, but only one is available at a time, and the user has to re-compile and re-load the driver. The goal of this project is to make both interfaces available simultaneously, or at least remove the need of re-compiling and switching driver. -
仅支持
PCAN-USB
,不支持PCAN-USB FD
、PCAN-USB Pro
、PCAN-PCI
及其他类型的硬件产品。For
PCAN-USB
only, not forPCAN-USB FD
,PCAN-USB Pro
,PCAN-PCI
and other hardware products. -
本项目仅供学习和测试!强烈不建议在生产环境使用!
This project is for STUDYINIG and TESTING ONLY! Use in PRODUCTION environment is STRONGLY DISCOURAGED!
$ make prepare # Only needed at the first time
$ sudo -E make install
$ sudo -E make uninstall
$ git pull && git checkout vX.Y.Z # For example: v0.8.0
$ sudo -E make update
-
网络
接口:使用candump
,或自行编写应用程序(推荐使用SocketCAN
应用编程接口)。Network
interface: Usecandump
, or write an application program yourself (SocketCAN
API is recommended). -
字符设备
接口:使用pcanview
。Chardev
interface: Usepcanview
.
GPL-2.0