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


Ignore:
Timestamp:
Dec 4, 2014, 3:13:34 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6139 r6375  
    9595
    9696  GPSADDBITS(12, 1019)
    97   GPSADDBITS(6,eph._prn.number())
     97  if (eph._prn.system() == 'J') {
     98    GPSADDBITS(6,eph._prn.number() + PRN_QZSS_START - 1)
     99  }
     100  else {
     101    GPSADDBITS(6,eph._prn.number())
     102  }
    98103  GPSADDBITS(10, eph._TOC.gpsw())
    99104  GPSADDBITS(4, eph._ura)
Note: See TracChangeset for help on using the changeset viewer.