Skip to content
Open in AI

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 cansend for one frame, cangen for periodic traffic and candump for capture. Check the ID, DLC, payload, BRS and filters.
  • Record and analyze — Log with candump, replay with canplayer and view bus occupancy with canbusload. 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.