821712a4e5 | ||
---|---|---|
.. | ||
Readme.md |
Readme.md
MISC - Socket CAN Linux
Connect interface
Physical CAN:
sudo ip link set can0 up type can bitrate 500000
Virtual CAN:
sudo ip link add dev vcan0 type vcan
View and record dump
View:
candump can0
Record:
candump -l can0
Replay dump
Assume to replay a file recored on can0 on vcan0:
canplayer vcan0=can0 -I candump-2024-06-13_150626.log