TESTJ1939(1)

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

✨ TESTJ1939 ✨

okay bestie, gather round, because today we're going to talk about testj1939 πŸ’– β€” it's a user command, it lives in the manual, and it's literally here to demonstrate j1939 use. that's the whole vibe. it's giving "little demo tool that could" and honestly? we're obsessed. πŸ¦‹

this page ships with testj1939 2023.03-1build1, so if you're running that version you're in exactly the right place, no cap.


🌸 SYNOPSIS 🌸

testj1939 [OPTIONS] FROM TO

two positional args, both required, no skipsies. πŸŽ€


πŸ’… DESCRIPTION πŸ’…

testj1939: demonstrate j1939 use</purpose>

that's it, that's the mission statement, and she ate. πŸ”₯

🫢 FROM / TO

both of these take the same shape, and it's one of two things:

  • literally just - (yes, a single dash, she's minimal like that)
  • or the whole fancy format: [IFACE][:[SA][,[PGN][,NAME]]]

so like, you can be chill about it or you can go full main character with every field filled in. your choice, both valid, we support both. ✨


πŸ‘‘ OPTIONS πŸ‘‘

every single one, in order, nothing skipped, because we don't do that here:

  • -v β€” print the relevant API calls. she's narrating her own life for you. commentary mode on. πŸ—£οΈ
  • -s[=LEN] β€” do an initial send of LEN bytes of dummy data. fake data, real packet, iconic behaviour. πŸ’…
  • -r β€” receive (and print) data. sit there, look pretty, listen. πŸ‘‚
  • -e β€” echo incoming packets back. and yes, important caveat bestie: this actually receives packets, so it's not just pretending. πŸ“’
  • -c β€” issue connect(). just… call the thing. that's the whole job. 🀝
  • -p=PRIO β€” set the priority to PRIO. pick your number, own it. ⭐
  • -P β€” promiscuous mode. allows you to receive all packets. she's nosy and we respect it. πŸ‘€
  • -b β€” do a normal bind with SA+1, then rebind with the actual SA. two-step bind, little dance, cute. πŸ’ƒ
  • -B β€” allow sending and receiving broadcast packets. go wide, bestie. πŸ“‘
  • -o β€” omit bind. skip it entirely, no bind, bye. ✌️
  • -n β€” emit 64bit NAMEs in the output. big names only, we love a long name. πŸ’–
  • -w[TIME] β€” return after TIME seconds (default 1). set a timer, dip out, self-care. ⏰

🌈 EXAMPLES 🌈

because sometimes you just need to see it, yk? iykyk:

testj1939 can1 20

look at her go. πŸš—βœ¨


ok lowkey reminder before you yeet yourself into it: -e genuinely receives packets, so don't be surprised when packets show up. that's not a bug, that's the feature. 😭

and that's the page, bestie!! this whole thing is from testj1939 2023.03-1build1, dated December 2025, and it's filed under TESTJ1939(1) in section 1 of the manual β€” user commands, where all the fun stuff lives. πŸŽ€ go forth, run your j1939 demos, and slay. periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from