diff options
author | Gary E. Miller <gem@rellim.com> | 2019-05-02 13:51:07 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-05-02 16:16:42 -0700 |
commit | 5d1cf926444a568bb9d9f52a776316e0a7f718c6 (patch) | |
tree | e7b22b55af8517935cebefb64526f2cbdd098ce6 /gps.h | |
parent | 091802f1017e7566ea96c5f62c3e66006c49a4f4 (diff) | |
download | gpsd-5d1cf926444a568bb9d9f52a776316e0a7f718c6.tar.gz |
gps.h: Note that PRN is per NMEA 2.x to 4.0, not 4.10 or u-blox.
Basically SBAS is 33-64 and 152-158, not 120-158.
BeiDou is 301-336 not 201-236
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -50,6 +50,7 @@ extern "C" { * Add gps_fix_t datum string, and qErr * enlarge subtype to hold ZED-F9 string * MAXCHANNELS bumped from 120 to 140 + * Try to make PRN be NMEA 2.x-4.0 compliant, not 4.10 or u-blox */ #define GPSD_API_MAJOR_VERSION 8 /* bump on incompatible changes */ #define GPSD_API_MINOR_VERSION 0 /* bump on compatible changes */ @@ -1840,7 +1841,7 @@ struct satellite_t { * sadly there is no standard, but many different implementations of * how to code PRN */ - short PRN; + short PRN; /* PRN numbering per NMEA 2.x to 4.0, not 4.10 */ short elevation; /* elevation of satellite, -90 to 90 deg, -91 for n/a */ short azimuth; /* azimuth, 0 to 359 deg, -1 for n/a */ /* gnssid:svid:sigid, as defined by u-blox 8/9: |