CANSEND(1)

πŸ“¦
version 2023.03 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– CANSEND πŸ’–

okay so bestie, welcome to the cansend manual page, which is the page for cansend 2023.03-1build1 β€” yes that's the whole version number, no notes, we love an exact string in this house πŸ’…


✨ NAME ✨

cansend β€” the manual page for cansend 2023.03-1build1, aka the little tool that yells CAN frames at your CAN bus πŸ¦‹


✨ SYNOPSIS ✨

cansend <device> <can_frame>.

literally that's it. device, then the frame, then go 🫢


🌸 DESCRIPTION 🌸

./cansend sends CAN-frames via CAN_RAW sockets. that's the whole job. no cap, it just yeets frames onto the bus πŸ’…

πŸŽ€ <can_frame>:

okay so here's where the lore gets deep, because a <can_frame> can be shaped like a bunch of different things and each one is a different vibe ✨

  • <can_id>#{data} β€” for Classical CAN 2.0 data frames πŸ’–
  • <can_id>#R{len} β€” for Classical CAN 2.0 data frames πŸ’–
  • <can_id>#{data}_{dlc} β€” for Classical CAN 2.0 data frames πŸ’–
  • <can_id>#R{len}_{dlc} β€” for Classical CAN 2.0 data frames πŸ’–
  • <can_id>##<flags>{data} β€” for CAN FD frames πŸš€ (glow-up frame, main character energy, we love her)

🧚 <can_id>:

3 (SFF) or 8 (EFF) hex chars. two sizes, both iconic πŸ‘‘

🧚 {data}:

0..8 (or 0..64 for CAN FD) ASCII hex-values, and they can optionally be separated by . if you're feeling ✨aesthetic✨

🧚 {len}:

an optional 0..8 value, because RTR frames can contain a valid dlc field, iykyk

🧚 _{dlc}:

an optional 9..F data length code value, and it's for when the payload length is 8 🌸

🧚 <flags>:

a single ASCII Hex value (0 .. F) which defines canfd_frame.flags. tiny little guy, big responsibilities πŸ’€


🌈 EXAMPLES 🌈

here they are, verbatim, copy them exactly bestie, do not freestyle, I am begging πŸ™ˆ

5A1#11.2233.44556677.88 / 123#DEADBEEF / 5AA# / 123##1 /
213##311223344 / 1F334455#1122334455667788_B / 123#R /
00000123#R3 / 333#R8_E

okay so real talk for a sec β€” this is cansend 2023.03-1build1, and that footer number is not a personality trait, it's just the version. keep it in mind if you're debugging and things are acting ✨mysterious✨ 😭

and that's the whole page babes πŸ’œ written down as of December 2025, from cansend 2023.03-1build1 β€” go forth and cansend <device> <can_frame>. responsibly, mwah πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from