web icon indicating copy to clipboard operation
web copied to clipboard

[Bug]: Traceroute SNR needs to be divided by 4

Open jwarchol opened this issue 10 months ago • 0 comments

Before submitting

  • [x] I have searched existing issues to make sure this bug hasn't already been reported
  • [x] I have updated to the latest version of the software to verify the issue still exists
  • [x] I have cleared cache/cookies/storage or tried in a private/incognito window (if applicable)

Hardware

Rak4631

Connection Type

Bluetooth

Local or Hosted

https://client.meshtastic.org

Firmware Version

2.5.20

Operating System

macos 15.3.1

Browser

Chrome Version 134.0.6998.44 (Official Build) (arm64)

Expected Behavior

Traceroute SNR displayed should be scaled.

Actual Behavior

Traceroute SNR appears to be raw unscaled integer

Steps to Reproduce

  1. Traceroute
  2. Get result
  3. See implausible SNR

Relevant console output


Screenshots

Image

Additional Context

Other clients and the firmware divide the SNR by 4.

https://github.com/search?q=org%3Ameshtastic%20snrBack&type=code

/// The list of SNRs (in dB, scaled by 4) in the route back from the destination.
1478 | public var snrBack: [Int32] = []

jwarchol avatar Mar 10 '25 23:03 jwarchol