Repository navigation
Description
Decision
Message details show which node most likely relayed a message to us, worked out from the packet's relay_node byte, and for a sent message how many nodes we heard rebroadcast it.
Context
Since firmware 2.6, every relayed packet carries relay_node in its header: the last byte of the relaying node's ID. One byte can match several nodes, so the client can only name the most likely one. A value of 0 means no relay was recorded, which also means a node whose ID ends in 00 can never be named this way.
Apple shows the relay in message details (meshtastic/Meshtastic-Apple#1486, MessageEntity.relayDisplay): "Relay:" for a received message and "Ack Relay:" for the ack of a sent direct message, plus "Relayed by N nodes" for a sent message. Android shows the count in its delivery dialog (DeliveryInfoDialog) but not the relaying node. It has the matching logic in Node.kt and uses it only on the debug screen.
Reports in this thread came from nodes whose ID ends in 00 being shown as the relay of failed messages. Apple no longer names a relay for 0.
Required Client Behavior
- Store the
relay_nodebyte with each received message, and with the ack of each sent direct message. - In message details, name the node whose ID ends in that byte. When several known nodes match, pick the one with the fewest hops among those whose hop count is known; when none has a known hop count, pick any match. When no known node matches, show the byte in hex, for example "Node 0x5A".
- When
relay_nodeis 0, show no relay. - Label it as the relay of the message, or of the ack for a sent direct message.
- For a sent message, show how many nodes we heard rebroadcast it.
- Name the node with its local display name when one is set (design#170).
Acceptance Criteria
Opening the details of a relayed message shows the node that most likely relayed it, or its hex byte when the node isn't known; a message with no recorded relay shows none; and a sent message shows how many nodes rebroadcast it.
Open questions
- Should a node that hasn't been heard for a long time lose to a recently heard one with more hops? A node last seen 77 days ago was named as the relay in a report above.
- Should a sent message list every node heard rebroadcasting it, not just the count? Neither client does this yet.
- A node whose ID ends in
00is indistinguishable from "no relay". That needs a firmware change, and no firmware issue is filed yet.
Platform Tracking
- Apple: Show who relayed messages Meshtastic-Apple#1486
- Android: feat(messaging): show the relaying node in message details Meshtastic-Android#8082, feat(messaging): show the relaying node on received messages and on reactions Meshtastic-Android#8210
- Web: not yet filed
- Firmware:
relay_node0 is ambiguous for node IDs ending in00, not yet filed
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
NomDeTom commentedon Nov 11, 2025
Adding to my comment on meshtastic/Meshtastic-Android#3656 the relaying node suggestion needs to be more than just the lowest hop count. In the screenshot I provided, that node hadn't been seen in 77 days, and was shown as the relaying node for a DM sent directly to it (even though it was out of range).
ldti commentedon Nov 21, 2025
Something similar here.
The TAMI node is a MQTT node with no LORA nodes near it, so it will of course say "max retransmit reached."
HOWEVER, it is not the only node that retransmitted the message, as confirmed by others in the screenshot.
1nv commentedon Nov 24, 2025
Please remove this:
teran1983 commentedon Nov 24, 2025
I confirm. We have node 0500 in our network.
And the entire network receives this message.
The message disappears if you remove the 0500 entry from the node list.
But this only helps until node 0500 sends its contact information again.
DirectX commentedon Nov 26, 2025
Exactly the same. Node 0500 crashed all environment by confirming the relay of messages. This was nightmare before customized firmware for this node was applied which scrambles the initialization to not get 00 at the end.
timurey commentedon Dec 22, 2025
We have nodes with IDs xxxx7e00 and xxxx5200. It looks like they broke the DM. Perhaps the firmware should change the ID if it ends in 00?
garthvh commentedon Aug 11, 2026
Status update (August 2026): the display mechanics this issue specifies are implemented — iOS resolves and shows the likely relaying node using the last-byte match with least-hops tiebreak (and guards the no-rankable-hops case), and Android has its equivalent.
The live problem in this thread is no longer display, it's the protocol edge case: nodes whose ID ends in 0x00 are indistinguishable from "no relay" (and per the reports above can break DMs / cause network-wide confirmation issues). That needs a firmware-side issue if one doesn't exist yet — clients can't fix an ambiguous relay_node byte after the fact. Suggest filing it against meshtastic/firmware and linking it here, then this issue can be closed as implemented once that's tracked where it belongs.
[-]Implementation Details for Relay Node Message display[/-][+][ALIGNMENT]: Show the relaying node in message details[/+]Pedrom-pt commentedon Nov 16, 2026
Made my contribution in Android section, meshtastic/Meshtastic-Android#8065
Since at least one of the contributions needs to be aligned, I'm posting it here
"4. Since the 2.8.x firmware the node Id is generated not from hardware/macaddress, BLOCK the generation of node ID 0x00"
garthvh commentedon Nov 20, 2026
@Pedrom-pt Thanks. Node ID generation is firmware's job, not a client display rule, so I've moved this to meshtastic/firmware#12439 for review. From reading the code, the 0x00 case may not be reachable as described, and that issue explains why. It doesn't change anything about showing the relaying node, so let's keep #33 to that.