Changeset 2236 in ntrip for trunk/BNS/RTCM
- Timestamp:
- Jan 12, 2010, 1:22:24 PM (15 years ago)
- Location:
- trunk/BNS/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/RTCM/rtcm3torinex.c
r2013 r2236 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.c,v 1.2 7 2009/11/04 16:40:16 zdenekExp $3 $Id: rtcm3torinex.c,v 1.28 2010/01/12 12:13:23 mervart Exp $ 4 4 Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu> 5 5 … … 55 55 56 56 /* CVS revision and version */ 57 static char revisionstr[] = "$Revision: 1.2 7$";57 static char revisionstr[] = "$Revision: 1.28 $"; 58 58 59 59 #ifndef COMPILEDATE … … 837 837 }; 838 838 839 struct converttimeinfo {840 int second; /* seconds of GPS time [0..59] */841 int minute; /* minutes of GPS time [0..59] */842 int hour; /* hour of GPS time [0..24] */843 int day; /* day of GPS time [1..28..30(31)*/844 int month; /* month of GPS time [1..12]*/845 int year; /* year of GPS time [1980..] */846 };847 848 839 void converttime(struct converttimeinfo *c, int week, int tow) 849 840 { … … 1692 1683 1693 1684 #ifndef NO_RTCM3_MAIN 1694 static char datestr[] = "$Date: 20 09/11/04 16:40:16$";1685 static char datestr[] = "$Date: 2010/01/12 12:13:23 $"; 1695 1686 1696 1687 /* The string, which is send as agent in HTTP request */ -
trunk/BNS/RTCM/rtcm3torinex.h
r2013 r2236 4 4 /* 5 5 Converter for RTCM3 data to RINEX. 6 $Id: rtcm3torinex.h,v 1.1 8 2009/11/04 16:19:40 zdenekExp $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 … … 99 99 #define GNSSDF_LOCKLOSSL1 (1<<29) /* lost lock on L1 */ 100 100 #define GNSSDF_LOCKLOSSL2 (1<<30) /* lost lock on L2 */ 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 }; 101 110 102 111 struct gnssdata { … … 234 243 235 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 236 248 void HandleHeader(struct RTCM3ParserData *Parser); 237 249 int RTCM3Parser(struct RTCM3ParserData *handle);
Note:
See TracChangeset
for help on using the changeset viewer.