Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hopStart to MeshPacket #454

Merged
merged 2 commits into from
Mar 2, 2024
Merged

Add hopStart to MeshPacket #454

merged 2 commits into from
Mar 2, 2024

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Feb 28, 2024

In order to implement RFC meshtastic/rfcs#8 and corresponding firmware issue meshtastic/firmware#3239.

With this clients can use the following pseudocode when receiving a packet to display routing information:

if (hopStart != 0 && (hopStart-hopLimit !=0)):
	displayHopsAway(hopStart-hopLimit) 
else: 
	displayRSSIandSNR()

Note that unlike SNR, the amount of hops is not (yet) in the NodeInfo, but can be updated for each received packet.

@thebentern thebentern merged commit 1e85de9 into meshtastic:master Mar 2, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants