Skip to content

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

@jwarchol

Description

@jwarchol

Before submitting

  • I have searched existing issues to make sure this bug hasn't already been reported
  • I have updated to the latest version of the software to verify the issue still exists
  • 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] = []

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions