Changeset 6869 in ntrip


Ignore:
Timestamp:
Jun 1, 2015, 3:12:41 PM (5 years ago)
Author:
stoecker
Message:

fix galileo week

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r6819 r6869  
    246246  GALILEOADDBITS(12, eph._inav ? 1046 : 1045)
    247247  GALILEOADDBITS(6, eph._prn.number())
    248   GALILEOADDBITS(12, eph._TOC.gpsw())
     248  GALILEOADDBITS(12, eph._TOC.galw())
    249249  GALILEOADDBITS(10, eph._IODnav)
    250250  GALILEOADDBITS(8, SISA)
  • trunk/BNC/src/bnctime.h

    r6812 r6869  
    6666   */
    6767  unsigned int gpsw()   const;
     68  /** Get Galileo week.
     69   * @return Galileo week number
     70   */
     71  inline unsigned int galw() const { return gpsw()-1024; };
    6872  /** Get Seconds in GPS week.
    6973   * @return time of GPS week in seconds
Note: See TracChangeset for help on using the changeset viewer.