From f9dacd3f634df224bf8ea93ecb991fef390512aa Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Mon, 2 Mar 2009 20:04:36 +0000 Subject: repository beautification, part 2: rename the packet drivers to driver_$(protocol).c --- driver_superstar2.h | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 driver_superstar2.h (limited to 'driver_superstar2.h') diff --git a/driver_superstar2.h b/driver_superstar2.h new file mode 100644 index 00000000..8b1529ca --- /dev/null +++ b/driver_superstar2.h @@ -0,0 +1,59 @@ +/* $Id$ */ +#ifndef _GPSD_SUPERSTAR2_H_ +#define _GPSD_SUPERSTAR2_H_ + +#define SUPERSTAR2_BASE_SIZE 4 +#define SUPERSTAR2_TYPE_OFFSET 1 + +/* input-only */ +#define SUPERSTAR2_RESET 2 +#define SUPERSTAR2_LINKUP 63 +#define SUPERSTAR2_CHANNEL_INHIBIT 64 +#define SUPERSTAR2_TIME_PARAMS 69 +#define SUPERSTAR2_ALMANAC_INCREMENT 77 +#define SUPERSTAR2_ALMANAC_UPLOAD 79 +#define SUPERSTAR2_SET_OPMODE 80 +#define SUPERSTAR2_SET_MASK 81 +#define SUPERSTAR2_SET_DGPS 83 +#define SUPERSTAR2_SET_IONOMODEL 84 +#define SUPERSTAR2_SET_MSLMODEL 86 +#define SUPERSTAR2_SET_HEIGHT_MODE 87 +#define SUPERSTAR2_SET_DATUM 88 +#define SUPERSTAR2_SATELLITE_INHIBIT 90 +#define SUPERSTAR2_BASE_CONFIG 91 +#define SUPERSTAR2_SATELLITE_TRACK 95 +#define SUPERSTAR2_NVM_ERASE 99 +#define SUPERSTAR2_SET_TIME 103 +#define SUPERSTAR2_MESSAGE_CONFIG 105 +#define SUPERSTAR2_SERIAL_CONFIG 110 + +/* output-only */ +#define SUPERSTAR2_CHANINF2 7 +#define SUPERSTAR2_LINKERR 125 +#define SUPERSTAR2_ACK 126 + +/* bidirectional */ +#define SUPERSTAR2_DUMMY 0 +#define SUPERSTAR2_CHANINF 6 +#define SUPERSTAR2_NAVSOL_LLA 20 +#define SUPERSTAR2_NAVSOL_ECEF 21 +#define SUPERSTAR2_EPHEMERIS 22 +#define SUPERSTAR2_MEASUREMENT 23 +#define SUPERSTAR2_RECV_CONFIG 30 +#define SUPERSTAR2_SVINFO 33 +#define SUPERSTAR2_DGPSCONFIG 43 +#define SUPERSTAR2_VERSION 45 +#define SUPERSTAR2_BASE_STATUS 47 +#define SUPERSTAR2_DGPS_STATUS 48 +#define SUPERSTAR2_RECV_STATUS 49 +#define SUPERSTAR2_SAT_HEALTH 50 +#define SUPERSTAR2_SELFTEST 51 +#define SUPERSTAR2_RTCM_DATA 65 +#define SUPERSTAR2_SBAS_DATA 67 +#define SUPERSTAR2_SBAS_STATUS 68 +#define SUPERSTAR2_IONO_UTC 75 +#define SUPERSTAR2_ALMANAC_DATA 76 +#define SUPERSTAR2_ALMANAC_STATUS 78 +#define SUPERSTAR2_TIMING 113 + +#endif /* _GPSD_SUPERSTAR2_H_ */ -- cgit v1.2.1