DOKK / manpages / debian 12 / can-utils / cansend.1.en
CANSEND(1) User Commands CANSEND(1)

cansend - manual page for cansend 2020.11.0-1

cansend <device> <can_frame>.

./cansend - send CAN-frames via CAN_RAW sockets.

<can_id>#{data}
for 'classic' CAN 2.0 data frames
<can_id>#R{len}
for 'classic' CAN 2.0 data frames
<can_id>##<flags>{data}
for CAN FD frames

3 (SFF) or 8 (EFF) hex chars

0..8 (0..64 CAN FD) ASCII hex-values (optionally separated by '.')

an optional 0..8 value as RTR frames can contain a valid dlc field

a single ASCII Hex value (0 .. F) which defines canfd_frame.flags

5A1#11.2233.44556677.88 / 123#DEADBEEF / 5AA# / 123##1 / 213##311223344 / 1F334455#1122334455667788 / 123#R / 00000123#R3
December 2020 cansend 2020.11.0-1