SocketCAN User Interface for the Terminal - socanui
Features
- Send and Receive CAN Message
- CAN Frame List
- CAN Frame Table
- Show CAN Interface Parameter
- CAN Statistics
- Send CAN Frames (single, repeated, random)
- Filter CAN Frames
Usage
Just run socanui <interface> in your terminal and the UI will start.
For the first physical CAN adapter:
socanui can0
Install
git clone https://github.com/miwagner/socanui.git
go build -o socanui main.go
Socket CAN
You can create a virtual CAN interface if you don't have a physical CAN adapter:
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
You can generate testdata as follow:
cangen vcan0