- Install libraries and utilities:
go get github.com/jbreitbart/canlib/... - Install just the library:
go get github.com/jbreitbart/canlib/
can-dump- Dump CAN packets from SocketCan interface and display extended informationcan-fuzz- Incrementally fuzz CAN messagescan-halfpipe- Print messages originiating from a target device using a "bump in the wire"
Documentation and usage explanations for the library can be found at https://godoc.org/github.com/buffersandbeer/canlib.
go test is used for unit testing. Tests require a vcan interface to be successful:
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
- Write to CAN Bus interface
- Read from CAN Bus interface
- Generate CAN messages
- Process CAN messages
- Pretty Print CAN messages