diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-04-15 04:14:28 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-04-15 04:14:28 -0400 |
commit | d117e603c5e9186c81b43e123d4291ca21d35684 (patch) | |
tree | d91f15ac7e1b9e3f54e798fb48d90b48dce3ed72 /gpsd.h-tail | |
parent | 4f39917c18d6682bc02d39c4af8fd78cdee3ccd6 (diff) | |
download | gpsd-d117e603c5e9186c81b43e123d4291ca21d35684.tar.gz |
Beginning of NMEA200 driver. Franework code, nowhere near working.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 82385e60..18870363 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -115,10 +115,11 @@ struct gps_packet_t { #define SUPERSTAR2_PACKET 12 #define ONCORE_PACKET 13 #define GEOSTAR_PACKET 14 -#define MAX_GPSPACKET_TYPE 14 /* increment this as necessary */ -#define RTCM2_PACKET 15 -#define RTCM3_PACKET 16 -#define JSON_PACKET 17 +#define NMEA2000_PACKET 15 +#define MAX_GPSPACKET_TYPE 15 /* increment this as necessary */ +#define RTCM2_PACKET 16 +#define RTCM3_PACKET 17 +#define JSON_PACKET 18 #define TEXTUAL_PACKET_TYPE(n) ((((n)>=NMEA_PACKET) && ((n)<=MAX_TEXTUAL_TYPE)) || (n)==JSON_PACKET) #define GPS_PACKET_TYPE(n) (((n)>=NMEA_PACKET) && ((n)<=MAX_GPSPACKET_TYPE)) #define LOSSLESS_PACKET_TYPE(n) (((n)>=RTCM2_PACKET) && ((n)<=RTCM3_PACKET)) |