Changeset 2346 in ntrip for trunk/rtcm3torinex/rtcm3torinex.h


Ignore:
Timestamp:
Mar 1, 2010, 2:48:25 PM (14 years ago)
Author:
stoecker
Message:

updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.h

    r1237 r2346  
    44/*
    55  Converter for RTCM3 data to RINEX.
    6   $Id: rtcm3torinex.h,v 1.14 2008/11/10 18:07:35 weber Exp $
     6  $Id: rtcm3torinex.h,v 1.19 2010/01/12 12:13:23 mervart Exp $
    77  Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
    88
     
    2222  or read http://www.gnu.org/licenses/gpl.txt
    2323*/
     24
     25#include <stdio.h>
    2426
    2527#define PRN_GPS_START             1
     
    98100#define GNSSDF_LOCKLOSSL2     (1<<30)  /* lost lock on L2 */
    99101
     102struct 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
    100111struct gnssdata {
    101112  int    flags;              /* GPSF_xxx */
     
    106117  int    dataflags[24];      /* GPSDF_xxx */
    107118  int    satellites[24];     /* SV - IDs */
     119  int    channels[24];       /* Glonass channels - valid of Glonass SV only */
    108120  int    snrL1[24];          /* Important: all the 5 SV-specific fields must */
    109121  int    snrL2[24];          /* have the same SV-order */
     
    230242#endif /* PRINTFARG */
    231243
     244int gnumleap(int year, int month, int day);
     245void updatetime(int *week, int *tow, int tk, int fixnumleap);
     246void converttime(struct converttimeinfo *c, int week, int tow);
     247
    232248void HandleHeader(struct RTCM3ParserData *Parser);
    233249int RTCM3Parser(struct RTCM3ParserData *handle);
Note: See TracChangeset for help on using the changeset viewer.