gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] ✘GPSD_API


From: Eric S. Raymond
Subject: Re: [gpsd-dev] ✘GPSD_API
Date: Thu, 14 Apr 2016 04:00:31 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Gary E. Miller <address@hidden>:
> Yo All!
> 
> I've been looking at gps.h and at these two constants:
> 
> #define GPSD_API_MAJOR_VERSION 6       /* bump on incompatible changes */
> #define GPSD_API_MINOR_VERSION 1       /* bump on compatible changes */
> 
> It is not clear to me what constitutes a compatible channge and
> what is an incompatible change.
> 
> For example, was the recent addition of oscillator_t osc to gps_data_t
> a compatible change that should have incremented the minor rev?

Yes.  I should have caught this, but between the Venusian Death Flu and
dealing with a breakuin on my bastion host I've been distracted.

> I'm guessing that if I added a field to satellite_t skyview, which is in
> gps_data_t, that would be an incompatible change?o

Yes.

> I also have some other changes that likely need to go in gpsdata_t. For
> example, there are two distinct types of satellites_used and
> satellites_visible.  One type is the number reported by the GPS and the
> other is a could of sats seen so far in sucessive GPGSA dn GPGSV.  But
> gpsdata_t has place for only one type and they keep over-wrting each
> other...

Fixing that will be not just incompatible but a significant design change that
we need to discuss carefully.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


reply via email to

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