gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] ✘INCOMPATIBLE API change -- add gnssid:svid


From: Gary E. Miller
Subject: [gpsd-dev] ✘INCOMPATIBLE API change -- add gnssid:svid
Date: Thu, 20 Sep 2018 12:10:42 -0700

Yo All!

INCOMPATIBLE API CHANGE!  The JSON is upwardly compatible, but not the
binary.

satellite_t got bigger.  It now has gnssid and svid fields for each
sat.

The GREIS, NMEA 0183 and u-blox drivers fill in these new fields.

If valid, the new fields are included in the SKY JSON.  The client
library decodes them too.

Why?  PRN has become a mess.  No two GPS encode multiple GNSS into
the PRN the same way.  Just NMEA 0183 does it four different ways.

gpsd had the gnssid:svid data from GREIS, NMEA 0183 and NMEA, but
was trying, and failing, to mash it consistently into the PRN field.

No way the user could tell which PRN belongs to which constellation.

cgps and xgps use the new fields to show the user which constellations
different satellites belong to.

Now, at least with those three drivers, the user can trivially see
which constellation a satelltie belongs to.

Please go test.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgp19opTM6d4a.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]