SocketCAN
summary
SocketCAN exposes CAN as Linux sockets so code uses standard socket calls to send 8‑byte CAN frames and bind to interfaces; typical bus speeds are 500 kbps (CAN up to 1 Mbps, CAN FD emerging). Fast testing uses vcan virtual CAN device (ip link add dev vcan0 type vcan; ip link set vcan0 up). Useful tools: cansend/candump/canplayer/cangen and can‑sniffer for delta‑colored diffs; SLcan devices attach via slcand for USB↔CAN access and Wireshark records PCAP traces. Built open‑source USB‑CAN hardware (schematics/firmware on GitHub).
AI-written summary · about
