transmitNodes / receiveNodes
Documents transmitNodes / receiveNodes in CANServiceConfiguration.json — a per-CAN-port
array of node ids attached to every message, independent of message type (Raw or J1939). This
doc covers what the values mean and what values are valid when you're authoring a configuration.
In the configuration tool, these values are determined under Node configuration Messages Setup.

Shape of the field
One element per configured CAN port, indexed by port number — not by node id. The array length must equal your device's port count: 3 ports on a CA91-based board, 2 on a CM4-based board.
If you edit a message in the configuration Ux, a mismatched array length is automatically corrected to match your device's port count. A config produced any other way (hand-edited, or generated outside the Ux) needs to get the array length right itself.
What each element means
| Value | Meaning |
|---|---|
a configured node's id (from nodes[] in the same config) |
that specific node is the transmitter/receiver on this port |
255 |
any node — broadcast/unconstrained on this port |
-1 |
this message doesn't apply to this port at all |
255 isn't an arbitrary constant — it corresponds to the config's special "any node" entry
(conventionally given "id": 255 in a config's nodes[] list), which by convention is also given
the CAN address 255 (0xFF, J1939's real broadcast address) so the two line up.
Node ids are not addresses. Each node id is automatically resolved to whatever CAN/J1939 address that node currently holds on the bus — see J1939 Address Claim for how addresses are claimed and tracked, and J1939 Address Overrides for how that resolved address gets used on the wire.
Authoring defaults
When you add a new message in the configuration Ux, it starts disabled on every port (-1
everywhere). Enabling a port for that message defaults it to "any node" (255) on that port —
i.e. "available everywhere, restricted to nobody in particular" is the starting point; you narrow
it down to specific node ids per port from there.
Worked example
A device (node id 1, "UUT") configured with 3 CAN ports — port 0 (can0), port 1 (can1,
address-claim-enabled), and port 2 (can2) — talking to a tester (node id 2).
HIL_RECUR_TEST, a recurring message sent every 200 ms, is configured as:
"transmitNodes": [1, 255, -1],
"receiveNodes": [2, 255, -1]
Reading this one port index at a time:
| Port index | transmitNodes |
receiveNodes |
What it means |
|---|---|---|---|
0 (can0) |
1 (UUT) |
2 (TESTER) |
On port 0, this message is a directed send from us (node 1) to the tester (node 2) specifically. |
1 (can1) |
255 (Any) |
255 (Any) |
On port 1 — the real address-claiming J1939 bus — anyone may send it and anyone may receive it; not narrowed to a specific pair of nodes. |
2 (can2) |
-1 (disabled) |
-1 (disabled) |
This message doesn't exist on port 2 at all. |
Valid values — summary
| Value | Valid where | Meaning |
|---|---|---|
a configured nodes[].id |
any array slot | that specific node is the transmitter/receiver for this message on this port |
255 (any node) |
any array slot | broadcast/"any node" — matches the config's special "any node" entry |
-1 (disabled) |
any array slot | this message does not apply to this port |
| array length | must equal configured port count | 2 on CM4, 3 on CA91; the Ux self-corrects on edit, hand-written configs must get this right themselves |