Skip to content

[Bug]: Rangetest module saves 0.00000 as GPS data in the rangetest.csv #5620

Description

@Fastomat

Category

Other

Hardware

Heltec V3

Firmware Version

2.5.16.f81d3b0 Alpha

Description

The Range Test module seems to not use live GPS data from the phone, for the rangetest.csv file. The .csv contains "0.0000" for rx lat, rx long and distance.

Both nodes are Heltec V3. Used iOS app for GPS location sharing is 2.5.12 (1317)

To reproduce

  • Node A: sender node, GPS location fixed. Rangetest module Enabled, sender interval 30 seconds.
  • Node B: receiver node, mobile. Rangetest module Enabled, sender interval OFF, Save to CSV ON.
    • Node B receives GPS data via the iPhone app via bluetooth. Settings:
    • Will share your phone GPS location with your node: ON, interval fifteen seconds, smart position OFF.

The rangetest messages are received on node B (seq 1, seq 2...) via the Primary LongFast channel. The node B display shows the correct distance when walking around (e.g. 197m, then 210m, etc.) and arrow so the node is receiving GPS data from the phone. Then I enable Wifi on the receiving node and download the .csv via meshtastic.local/rangetest.csv. That csv has no GPS info about node B's own location.

GPS fixed setting
When setting the GPS location fixed on the receiving node B, that GPS info is used for both the node display and saved into the rangetest.csv file. I set it with 'meshtastic --setlat 1.234 --setlon 5.678 --setalt 9 --serial' to make clear it was fixed.

The first 3 lines are with Node B receiving live GPS from the phone. The last 2 lines are with GPS fixed settings:

image

I don't know which part of the firmware the issue is. But I'm happy to gather more info if required.

Cheers,
Marcel

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions