Skip to content

Display traceroutes with 0 hops#4261

Merged
jamesarich merged 1 commit into
meshtastic:mainfrom
esev:0HopTraceroute
Jan 19, 2026
Merged

Display traceroutes with 0 hops#4261
jamesarich merged 1 commit into
meshtastic:mainfrom
esev:0HopTraceroute

Conversation

@esev

@esev esev commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

This is a follow-up to #4101. The traceroute dialog does not display when packets use 0 hops. This PR corrects this for nodes running recent firmware versions.

I suspect the original logic is due to nodes with older version 2.3.0 not supporting hopStart when they transmit messages. The bitfield was added in firmware version 2.5.0, and we can use its presence to determine if a node has a firmware version where hopStart is populated, even when it may be 0.

@codecov

codecov Bot commented Jan 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (5f86dad) to head (ee6a0e6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4261   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         23      23           
  Branches       7       7           
=====================================
  Misses        23      23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@esev esev marked this pull request as ready for review January 19, 2026 19:32
@jamesarich jamesarich added this pull request to the merge queue Jan 19, 2026

@jamesarich jamesarich left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Merged via the queue into meshtastic:main with commit 343fec2 Jan 19, 2026
11 checks passed
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