Changeset 5318 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Jul 3, 2013, 11:25:46 AM (11 years ago)
Author:
stoecker
Message:

add type 1046

Location:
trunk/rtcm3torinex/lib
Files:
2 edited

Legend:

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

    r5156 r5318  
    445445      }
    446446      break;
    447     case 1045:
     447    case 1045: case 1046:
    448448      {
    449449        struct galileoephemeris *ge;
     
    479479        GETFLOATSIGN(ge->OMEGADOT, 24, R2R_PI/(double)(1<<30)/(double)(1<<13))
    480480        GETFLOATSIGN(ge->BGD_1_5A, 10, 1.0/(double)(1<<30)/(double)(1<<2))
    481         GETFLOATSIGN(ge->BGD_1_5B, 10, 1.0/(double)(1<<30)/(double)(1<<2))
    482         GETBITS(ge->E5aHS, 2)
    483         GETBITS(sv, 1)
    484         if(sv)
    485           ge->flags |= GALEPHF_E5ADINVALID;
    486         ret = 1045;
     481        if(type == 1046)
     482        {
     483          GETFLOATSIGN(ge->BGD_1_5B, 10, 1.0/(double)(1<<30)/(double)(1<<2))
     484          GETBITS(ge->E5aHS, 2)
     485          GETBITS(sv, 1)
     486          if(sv)
     487            ge->flags |= GALEPHF_E5ADINVALID;
     488          GETFLOATSIGN(ge->BGD_1_5B, 10, 1.0/(double)(1<<30)/(double)(1<<2))
     489        }
     490        else
     491        {
     492          GETBITS(ge->E5bHS, 2)
     493          GETBITS(sv, 1)
     494          if(sv)
     495            ge->flags |= GALEPHF_E5BDINVALID;
     496        }
     497        ret = type;
    487498      }
    488499      break;
     
    38113822        int k = 0;
    38123823        int chunkymode = 0;
    3813         int starttime = time(0);
    3814         int lastout = starttime;
    38153824        int totalbytes = 0;
    38163825        int chunksize = 0;
     
    39393948            {
    39403949              totalbytes = 0;
    3941               starttime = time(0);
    3942               lastout = starttime;
    39433950            }
    39443951          }
  • trunk/rtcm3torinex/lib/rtcm3torinex.h

    r4417 r5318  
    362362
    363363#define GALEPHF_E5ADINVALID     (1<<0) /* E5aDVS set invalid */
     364#define GALEPHF_E5BDINVALID     (1<<0) /* E5bDVS set invalid */
    364365
    365366#define GLOEPHF_UNHEALTHY       (1<<0) /* set if unhealty satellite, f2b78 */
     
    423424  int    SISA;
    424425  int    E5aHS;
     426  int    E5bHS;
    425427};
    426428
Note: See TracChangeset for help on using the changeset viewer.