Changeset 71 in ntrip for trunk/BNC/RTCM3/rtcm3torinex.cpp


Ignore:
Timestamp:
Aug 25, 2006, 1:50:34 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/rtcm3torinex.cpp

    r65 r71  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.cpp,v 1.1 2006/08/24 13:24:14 mervart Exp $
     3  $Id: rtcm3torinex.cpp,v 1.2 2006/08/24 13:56:49 mervart Exp $
    44
    55  Program written bei
     
    5858
    5959/* CVS revision and version */
    60 static char revisionstr[] = "$Revision: 1.1 $";
    61 static char datestr[]     = "$Date: 2006/08/24 13:24:14 $";
     60static char revisionstr[] = "$Revision: 1.2 $";
     61static char datestr[]     = "$Date: 2006/08/24 13:56:49 $";
    6262static int stop = 0;
    6363
    6464
    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 };
    7365
    7466#include "rtcm3torinex.h"
    7567
    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 */
    7968
    8069struct Args
     
    311300#define SKIPBITS(b) { LOADBITS(b) numbits -= (b); }
    312301
    313 static int RTCM3Parser(struct RTCM3ParserData *handle)
     302int RTCM3Parser(struct RTCM3ParserData *handle)
    314303{
    315304  int ret=0;
     
    484473}
    485474
    486 static void converttime(struct converttimeinfo *c, int week, int tow)
     475void converttime(struct converttimeinfo *c, int week, int tow)
    487476{
    488477  /* static variables */
     
    534523};
    535524
    536 static void HandleHeader(struct RTCM3ParserData *Parser)
     525void HandleHeader(struct RTCM3ParserData *Parser)
    537526{
    538527  struct HeaderData hdata;
     
    862851}
    863852
    864 #ifdef CGPS_TRANSFORM_MAIN
     853#ifdef RTCM_TRANSFORM_MAIN
    865854int main(int argc, char **argv)
    866855{
Note: See TracChangeset for help on using the changeset viewer.