Changeset 71 in ntrip for trunk/BNC/RTCM3/rtcm3torinex.cpp
- Timestamp:
- Aug 25, 2006, 1:50:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/rtcm3torinex.cpp
r65 r71 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.cpp,v 1. 1 2006/08/24 13:24:14mervart Exp $3 $Id: rtcm3torinex.cpp,v 1.2 2006/08/24 13:56:49 mervart Exp $ 4 4 5 5 Program written bei … … 58 58 59 59 /* CVS revision and version */ 60 static char revisionstr[] = "$Revision: 1. 1$";61 static char datestr[] = "$Date: 2006/08/24 13: 24:14$";60 static char revisionstr[] = "$Revision: 1.2 $"; 61 static char datestr[] = "$Date: 2006/08/24 13:56:49 $"; 62 62 static int stop = 0; 63 63 64 64 65 struct converttimeinfo {66 int second; /* seconds of GPS time [0..59] */67 int minute; /* minutes of GPS time [0..59] */68 int hour; /* hour of GPS time [0..24] */69 int day; /* day of GPS time [1..28..30(31)*/70 int month; /* month of GPS time [1..12]*/71 int year; /* year of GPS time [1980..] */72 };73 65 74 66 #include "rtcm3torinex.h" 75 67 76 /* Additional flags for the data field, which tell us more. */77 #define GNSSDF_LOCKLOSSL1 (1<<29) /* lost lock on L1 */78 #define GNSSDF_LOCKLOSSL2 (1<<30) /* lost lock on L2 */79 68 80 69 struct Args … … 311 300 #define SKIPBITS(b) { LOADBITS(b) numbits -= (b); } 312 301 313 staticint RTCM3Parser(struct RTCM3ParserData *handle)302 int RTCM3Parser(struct RTCM3ParserData *handle) 314 303 { 315 304 int ret=0; … … 484 473 } 485 474 486 staticvoid converttime(struct converttimeinfo *c, int week, int tow)475 void converttime(struct converttimeinfo *c, int week, int tow) 487 476 { 488 477 /* static variables */ … … 534 523 }; 535 524 536 staticvoid HandleHeader(struct RTCM3ParserData *Parser)525 void HandleHeader(struct RTCM3ParserData *Parser) 537 526 { 538 527 struct HeaderData hdata; … … 862 851 } 863 852 864 #ifdef CGPS_TRANSFORM_MAIN853 #ifdef RTCM_TRANSFORM_MAIN 865 854 int main(int argc, char **argv) 866 855 {
Note:
See TracChangeset
for help on using the changeset viewer.