~ubuntu-branches/debian/stretch/gpsd/stretch

« back to all changes in this revision

Viewing changes to driver_italk.h

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2010-07-15 14:46:02 UTC
  • mto: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: james.westby@ubuntu.com-20100715144602-v68en708flyrtgcm
Tags: upstream-2.95
ImportĀ upstreamĀ versionĀ 2.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define NODE_HOST       0x40    /* Software on your computer */
25
25
#define NODE_GPSWB      0x60    /* GPSWorkbench seems to be HOST|ITRAX */
26
26
 
27
 
/* XXX These defines will likely be replaced by an enum
 
27
/* FIX-ME: These defines will likely be replaced by an enum
28
28
 * once I map every message to the task that sent it.
29
29
 */
30
30
/* System controller on the receiver */
130
130
#define FIXINFO_FLAG_FIRSTFIX           0x4000
131
131
 
132
132
/* PRN_STATUS */
133
 
#define PRN_FLAG_FOUND                  0x0001
134
 
#define PRN_FLAG_TRACKING               0x0002
135
 
#define PRN_FLAG_USE_IN_NAV             0x0004
 
133
#define PRN_FLAG_FOUND                  0x0001
 
134
#define PRN_FLAG_TRACKING               0x0002
 
135
#define PRN_FLAG_USE_IN_NAV             0x0004
136
136
 
137
137
/* UTC_IONO_MODEL */
138
 
#define UTC_IONO_MODEL_UTCVALID         0x0001
139
 
#define UTC_IONO_MODEL_IONOVALID        0x0002
 
138
#define UTC_IONO_MODEL_UTCVALID         0x0001
 
139
#define UTC_IONO_MODEL_IONOVALID        0x0002
140
140
 
141
141
/* SUBFRAME */
142
142
#define SUBFRAME_WORD_FLAG_MASK         0x03ff
143
143
#define SUBFRAME_GPS_PREAMBLE_INVERTED  0x0400
144
144
 
 
145
/* PSEUDO */
 
146
#define PSEUDO_OBS_DOPPLER_OK                   0x0001
 
147
#define PSEUDO_OBS_PSEUDORANGE_OK               0x0002
 
148
#define PSEUDO_OBS_TOW_OK                       0x0004
 
149
#define PSEUDO_OBS_PRN_OK                       0x0008
 
150
#define PSEUDO_OBS_ELEV_OK                      0x0010
 
151
#define PSEUDO_OBS_SNR_OK                       0x0020
 
152
#define PSEUDO_OBS_SV_HEALTHY                   0x0040
 
153
#define PSEUDO_OBS_NO_CROSS_CORR                0x0080
 
154
#define PSEUDO_OBS_DATA_EXISTS                  0x0100
 
155
#define PSEUDO_OBS_DATA_GOOD                    0x0200
 
156
#define PSEUDO_OBS_BIT_LOCK                     0x0400
 
157
#define PSEUDO_OBS_FIRST_MEAS                   0x0800
 
158
#define PSEUDO_OBS_RAIM_P_OK                    0x1000
 
159
#define PSEUDO_OBS_RAIM_V_OK                    0x2000
 
160
#define PSEUDO_OBS_RAIM_T_OK                    0x4000
 
161
#define PSEUDO_OBS_PLL                          0x8000
 
162
#define PSEUDO_OBS_MEAS_OK              ( PSEUDO_OBS_ELEV_OK | PSEUDO_OBS_SNR_OK | PSEUDO_OBS_PRN_OK | PSEUDO_OBS_NO_CROSS_CORR | PSEUDO_OBS_SV_HEALTHY | PSEUDO_OBS_DATA_EXISTS | PSEUDO_OBS_DATA_GOOD | PSEUDO_OBS_PSEUDORANGE_OK )
 
163
#define PSEUDO_OBS_DOPPLER_MEAS_OK      ( PSEUDO_OBS_ELEV_OK | PSEUDO_OBS_SNR_OK | PSEUDO_OBS_PRN_OK | PSEUDO_OBS_NO_CROSS_CORR | PSEUDO_OBS_SV_HEALTHY | PSEUDO_OBS_DATA_EXISTS | PSEUDO_OBS_DATA_GOOD | PSEUDO_OBS_DOPPLER_OK )
 
164
 
 
165
#define PSEUDO_TOW_WEEK_OK                      0x0001
 
166
#define PSEUDO_TOW_OK                           0x0002
 
167
#define PSEUDO_RESYNCH                          0x0004
 
168
#define PSEUDO_FIRST_MEAS                       0x0008
 
169
#define PSEUDO_UNSCHEDULED                      0x0010
 
170
 
 
171
#define PSEUDO_OBS_CORRECTED_AMBIGUOUS          0x0001
 
172
#define PSEUDO_OBS_CORRECTED_BY_SMOOTHING       0x0002
 
173
#define PSEUDO_OBS_CORRECTED_BY_IONO            0x0008
 
174
#define PSEUDO_OBS_CORRECTED_BY_TROPO           0x0010
 
175
#define PSEUDO_OBS_CORRECTED_BY_FAST_CORR       0x0020
 
176
#define PSEUDO_OBS_CORRECTED_BY_DGPS            0x0040
 
177
#define PSEUDO_OBS_CORRECTED_BY_SLOW_CORR       0x0080
 
178
#define PSEUDO_OBS_CORRECTED_BY_WAAS_IONO       0x0100
 
179
#define PSEUDO_OBS_CORR_POSSIBLE_XCORR          0x4000
 
180
#define PSEUDO_OBS_CORR_FRAME_LOCK              0x8000
 
181
#define PSEUDO_OBS_CORRECTED_BY_WAAS    ( PSEUDO_OBS_CORRECTED_BY_WAAS_IONO | PSEUDO_OBS_CORRECTED_BY_FAST_CORR)
 
182
 
145
183
/* MEMCTRL */
146
184
#define MEM_WRITE               0x0002
147
185
#define MEM_READD               0x0003