don't show the position even if I have a valid fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FoxtrotGPS |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
foxtrotgps don't show the position even if I have a valid fix.
The problem is because foxtrotgps use the status field, but it seems to be "deprecated" in gpsd.
See https:/
Gpsd developers recommends to use the fix.mode field instead.
I try this simple fix, and it works with my gps:
=== modified file 'src/gps_
--- old/src/
+++ new/src/
@@ -763,7 +763,7 @@
}
#if GPSD_API_
- gpsdata->valid = (libgps_
+ gpsdata->valid = (libgps_
#else
#endif
I leaved the check on fix.status just in case it helps with previous version of gpsd.
Thanks,
Diego.
On Sat, 2021-03-06 at 11:07 +0000, diego roversi wrote:
> foxtrotgps don't show the position even if I have a valid fix.
Thanks for the report and the patch.
I have merged your patch into the repository:
https:/ /bazaar. launchpad. net/~foxtrotgps -team/foxtrotgp s/trunk/ revision/ 329
Unfortunately I don't have the ability to make releases, but I will
eventually update the Debian package, which will flow into Ubuntu.
status fixcommitted
--
bye,
pabs
https:/ /wiki.debian. org/PaulWise