Changeset 5541 in ntrip for trunk/BNC/src/RTCM3


Ignore:
Timestamp:
Nov 9, 2013, 10:21:32 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/ephemeris.cpp

    r5540 r5541  
    596596  _SISA     = ee->SISA;
    597597  _E5aHS    = ee->E5aHS;
     598  _E5bHS    = ee->E5bHS;
    598599  _BGD_1_5A = ee->BGD_1_5A;
    599600  _BGD_1_5B = ee->BGD_1_5B;
     
    708709  buffer= buffer+3;
    709710
    710   GALILEOADDBITS(12, /*inav ? 1046 :*/ 1045)
     711  bool inav = ( (_flags & GALEPHF_INAV) == GALEPHF_INAV );
     712
     713  GALILEOADDBITS(12, inav ? 1046 : 1045)
    711714  GALILEOADDBITS(6, _prn.right((_prn.length()-1)).toInt())
    712715  GALILEOADDBITS(12, _TOC.gpsw())
     
    743746  GALILEOADDBITSFLOAT(10, _BGD_1_5A, 1.0/static_cast<double>(1<<30)
    744747  /static_cast<double>(1<<2))
    745   /*if(inav)
     748  if(inav)
    746749  {
    747750    GALILEOADDBITSFLOAT(10, _BGD_1_5B, 1.0/static_cast<double>(1<<30)
    748751    /static_cast<double>(1<<2))
    749     GALILEOADDBITS(2, _E5bHS)
    750     GALILEOADDBITS(1, flags & MNFGALEPHF_E5BDINVALID)
    751   }
    752   else*/
     752    GALILEOADDBITS(2, static_cast<int>(_E5bHS))
     753    GALILEOADDBITS(1, _flags & GALEPHF_E5BDINVALID)
     754  }
     755  else
    753756  {
    754     GALILEOADDBITS(2, _E5aHS)
    755     GALILEOADDBITS(1, /*flags & MNFGALEPHF_E5ADINVALID*/0)
     757    GALILEOADDBITS(2, static_cast<int>(_E5aHS))
     758    GALILEOADDBITS(1, _flags & GALEPHF_E5ADINVALID)
    756759  }
    757760  _TOEsec = 0.9999E9;
    758761  GALILEOADDBITS(20, _TOEsec)
    759762
    760   GALILEOADDBITS(/*inav ? 1 :*/ 3, 0) /* fill up */
     763  GALILEOADDBITS(inav ? 1 : 3, 0)
    761764
    762765  startbuffer[0]=0xD3;
  • trunk/BNC/src/RTCM3/ephemeris.h

    r5539 r5541  
    225225  double  _SISA;             //  Signal In Space Accuracy
    226226  double  _E5aHS;            //  E5a Health Status
     227  double  _E5bHS;            //  E5a Health Status
    227228  double  _BGD_1_5A;         //  group delay [s]
    228229  double  _BGD_1_5B;         //  group delay [s]
Note: See TracChangeset for help on using the changeset viewer.