diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-07-13 22:22:20 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-07-13 22:22:20 -0400 |
commit | e69bcb6b01af6b25c6a525fb1961b92ac04f5213 (patch) | |
tree | 1f58e61f24014d94ffa3834787c9b9c5fc5c9ee4 /gps.h | |
parent | c5f760dc7d47007e591324bbf1cf8999a09b3dd0 (diff) | |
download | gpsd-e69bcb6b01af6b25c6a525fb1961b92ac04f5213.tar.gz |
Bump maximum channel count to 32.
This is in order to accommodate devices that can do GLONASS; requires
a library-major-version bump.
Required a rebuild of two regression tests duee to the change in the
number of GSA fields dumped in pseudo-NMEA output. Other than that,
all regression tests pass.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -38,12 +38,13 @@ extern "C" { /* * 4.1 - Base version for initial JSON protocol (Dec 2009) * 4.2 - AIS application IDs split into DAC and FID (May 2010) + * 5.0 - MAXCHANNELS bumped from 20 to 32 for GLONASS (July 2010) */ -#define GPSD_API_MAJOR_VERSION 4 /* bump on incompatible changes */ -#define GPSD_API_MINOR_VERSION 2 /* bump on compatible changes */ +#define GPSD_API_MAJOR_VERSION 5 /* bump on incompatible changes */ +#define GPSD_API_MINOR_VERSION 0 /* bump on compatible changes */ #define MAXTAGLEN 8 /* maximum length of sentence tag name */ -#define MAXCHANNELS 20 /* maximum GPS channels (*not* satellites!) */ +#define MAXCHANNELS 32 /* must be > 12 GPS + 12 GLONASS + 2 WAAS */ #define GPS_PRNMAX 32 /* above this number are SBAS satellites */ #define GPS_PATH_MAX 64 /* dev files usually have short names */ #define MAXUSERDEVS 4 /* max devices per user */ |