Tool Guide: SocketCAN Command Generator
Outline
- Set up the interface — Choose a preset or task. Confirm the Linux interface name, CAN/CAN FD mode, bit rates and driver support.
- Generate transmit and receive commands — Use
cansendfor one frame,cangenfor periodic traffic andcandumpfor capture. Check the ID, DLC, payload, BRS and filters. - Record and analyze — Log with
candump, replay withcanplayerand view bus occupancy withcanbusload. Select multiple interfaces or other commands as needed. - Copy and run — Review the generated command and actual payload length. Check the installed can-utils version and driver capabilities before using the selected interface.