TESTJ1939(1)
β¨ 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 ofLENbytes 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β issueconnect(). justβ¦ call the thing. that's the whole job. π€-p=PRIOβ set the priority toPRIO. 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 withSA+1, then rebind with the actualSA. 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β emit64bitNAMEs in the output. big names only, we love a long name. π-w[TIME]β return afterTIMEseconds (default1). 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
- ubuntu resolute: can-utils 2023.03-1build1 Β· GPL-2.0-only
- ubuntu stonking: can-utils 2023.03-1build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms