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

Extend Length of Source and Destination Node IDs Logged #5492

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

rbrtio
Copy link
Contributor

@rbrtio rbrtio commented Dec 2, 2024

I am working on a project to collect metrics from the mesh in our area. I currently have it functioning by maintaining a constant connection to a node via the serial interface and utilizing the Python libraries to extract the relevant information which works, but is not very efficient.

While transitioning this functionality to use syslog as it is lighter and creates the possibility to collect data from multiple nodes, I noticed that the syslog output, specifically for the Lora RX lines, do not include the full source and destination Node IDs.

I was unable to find any record of why these fields were truncated, so this PR attempts to extend them to their full length.

Previous Example
Lora RX (id=0x3d820dc9 fr=0x1b to=0x9a, WantAck=0, HopLim=3 Ch=0x8 encrypted rxSNR=-1 rxRSSI=-110 hopStart=3)

Example with PR Applied
Lora RX (id=0x3d820dc9 fr=0xc0065b1b to=0xa6e7499a, WantAck=0, HopLim=2 Ch=0x8 encrypted rxSNR=5.5 rxRSSI=-71 hopStart=3)

@thebentern thebentern merged commit f846503 into meshtastic:master Dec 3, 2024
37 of 41 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