Changeset 5332 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Aug 6, 2013, 7:37:49 AM (7 years ago)
Author:
stoecker
Message:

support fit interval

Location:
trunk/rtcm3torinex/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r5318 r5332  
    433433        if(sv)
    434434          ge->flags |= GPSEPHF_L2PCODEDATA;
     435        GETBITS(sv, 1)
     436        if(sv)
     437          ge->flags |= GPSEPHF_6HOURSFIT;
    435438
    436439        i = ((int)ge->GPSweek - (int)handle->GPSWeek)*7*24*60*60
     
    25322535            ((double) e->SVhealth), e->TGD, ((double) e->IODC));
    25332536
    2534             ConvLine(file, "   %19.12e%19.12e\n", ((double)e->TOW), 0.0);
     2537            ConvLine(file, "   %19.12e%19.12e\n", ((double)e->TOW),
     2538            i & GPSEPHF_6HOURSFIT ? 1.0 : 0.0);
    25352539            /* TOW */
    25362540          }
  • trunk/rtcm3torinex/lib/rtcm3torinex.h

    r5318 r5332  
    326326#define GPSEPHF_L2CACODE       (1<<2) /* set, if CA-code available, s1w3b11 */
    327327#define GPSEPHF_VALIDATED      (1<<3) /* data is completely valid */
     328#define GPSEPHF_6HOURSFIT      (1<<4) /* Bit 17 Word 10 of subframe 2 is set to 1 */
    328329
    329330#define R2R_PI          3.1415926535898
Note: See TracChangeset for help on using the changeset viewer.