Changeset 6374 in ntrip for trunk


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

Legend:

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

    r6213 r6374  
    8080  _receptDateTime = currentDateAndTimeGPS();
    8181
    82   _prn.set('G', ee->satellite);
     82  if      (PRN_GPS_START <= ee->satellite && ee->satellite <= PRN_GPS_END) {
     83    _prn.set('G', ee->satellite);
     84  }
     85  else if (PRN_QZSS_START <= ee->satellite && ee->satellite <= PRN_QZSS_END) {
     86    _prn.set('J', ee->satellite - PRN_QZSS_START + 1);
     87  }
     88  else {
     89    _ok = false;
     90    return;
     91  }
    8392
    8493  _TOC.set(ee->GPSweek, ee->TOC);
Note: See TracChangeset for help on using the changeset viewer.