|
From: | Nick Taylor |
Subject: | Re: Small problem with NMEA feed - satellites_used |
Date: | Fri, 9 Dec 2022 10:35:48 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
Yo Gary
Sorry for confusion - my guy Orzo was battling to get any data at all and switching between sats avail and sats used hence how he got mixed up...gps_data->satellites_visible is useless. No two vendors compute it the same way, and tells you more about the state of the local ephemeris than the quality of the sky view. It is the wrong thing for what you say you want.
Basically we are after reporting sats used but using var in gpslib it's not there using this partial NMEA feed.
Orzo is suggesting the attached patch but he's not 100% happy with it...Maybe an option would be to add new variable like gga_sats_used and then application code could choose to use this if normal sats used=0
Please cast your expert eye Thanks and regards Nick
libgps_json.c.patch.zip
Description: Zip archive
[Prev in Thread] | Current Thread | [Next in Thread] |