Changeset 2346 in ntrip for trunk/rtcm3torinex/rtcm3torinex.h
- Timestamp:
- Mar 1, 2010, 2:48:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/rtcm3torinex.h
r1237 r2346 4 4 /* 5 5 Converter for RTCM3 data to RINEX. 6 $Id: rtcm3torinex.h,v 1.1 4 2008/11/10 18:07:35 weberExp $6 $Id: rtcm3torinex.h,v 1.19 2010/01/12 12:13:23 mervart Exp $ 7 7 Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu> 8 8 … … 22 22 or read http://www.gnu.org/licenses/gpl.txt 23 23 */ 24 25 #include <stdio.h> 24 26 25 27 #define PRN_GPS_START 1 … … 98 100 #define GNSSDF_LOCKLOSSL2 (1<<30) /* lost lock on L2 */ 99 101 102 struct converttimeinfo { 103 int second; /* seconds of GPS time [0..59] */ 104 int minute; /* minutes of GPS time [0..59] */ 105 int hour; /* hour of GPS time [0..24] */ 106 int day; /* day of GPS time [1..28..30(31)*/ 107 int month; /* month of GPS time [1..12]*/ 108 int year; /* year of GPS time [1980..] */ 109 }; 110 100 111 struct gnssdata { 101 112 int flags; /* GPSF_xxx */ … … 106 117 int dataflags[24]; /* GPSDF_xxx */ 107 118 int satellites[24]; /* SV - IDs */ 119 int channels[24]; /* Glonass channels - valid of Glonass SV only */ 108 120 int snrL1[24]; /* Important: all the 5 SV-specific fields must */ 109 121 int snrL2[24]; /* have the same SV-order */ … … 230 242 #endif /* PRINTFARG */ 231 243 244 int gnumleap(int year, int month, int day); 245 void updatetime(int *week, int *tow, int tk, int fixnumleap); 246 void converttime(struct converttimeinfo *c, int week, int tow); 247 232 248 void HandleHeader(struct RTCM3ParserData *Parser); 233 249 int RTCM3Parser(struct RTCM3ParserData *handle);
Note:
See TracChangeset
for help on using the changeset viewer.