diff options
author | Chris Lawrence <lordsutch@gmail.com> | 2017-12-11 01:12:14 -0500 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-06-15 21:00:00 -0700 |
commit | aed938aacb07f304265c36638b081b0d65007bd5 (patch) | |
tree | b5308527f670735dba366922080eb071988f3b1d /gpsd.h | |
parent | 648ccd2a9d3eb2fa2f88f2116a84b2e5ac6278b1 (diff) | |
download | gpsd-aed938aacb07f304265c36638b081b0d65007bd5.tar.gz |
Support Galileo $GA... talkers and fix a couple of $GB cases
Now that the Galileo constellation is live, the NMEA 4.1 standard
appears to have standardized on the "$GA..." prefix for
Galileo-specific messages. The lexer currently filters these out; this
patch ensures they go through to e.g. gpspipe -r. (I tore my hair out
for days trying to figure out why these were not being passed through
even though I could see them using screen etc.)
Also added logic to the GSA and GSV message parsing to account for the
Galileo messages. It probably needs more work to match up satellite
numbers between the GSA and GSV messages and to account for the GNSS
type field in NMEA 4.1, but it's a start at least.
I also fixed a couple of situations where the 'GB' prefix was being
ignored even though 'BD' was not. This leads to a regression in
test/daemon/beidou-gb.log, but the "regression" is actually incorrect
old behavior (JSON messages omitting BeiDou satellites) exposed by the
patch.
Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -539,10 +539,12 @@ struct gps_device_t { bool seen_glgsv; bool seen_bdgsv; bool seen_qzss; + bool seen_gagsv; char last_gsv_talker; bool seen_glgsa; bool seen_gngsa; bool seen_bdgsa; + bool seen_gagsa; char last_gsa_talker; /* * State for the cycle-tracking machinery. |