Changeset 5375 in ntrip for trunk/BNC/src/RTCM


Ignore:
Timestamp:
Aug 30, 2013, 4:53:06 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/GPSDecoder.cpp

    r5374 r5375  
    189189    }
    190190    else if (rnxStr[2] == 'X') {
    191       if (satSys == 'C') {
     191      if (satSys == 'C' || satSys == 'E') {
    192192        res += GNSSENTRY_TYPEC1;
    193193      }
     
    210210      res += GNSSENTRY_TYPEC2;
    211211    }
    212     else if (QString("IQ").indexOf(rnxStr[2]) != -1) {
     212    else if (rnxStr[2] == 'I') {
     213      if (satSys == 'C') {
     214        res += GNSSENTRY_TYPEC1;  // Compass: RINEX 3.01 "2I" corresponds to "1I" RINEX 3.02
     215      }
     216      else {
     217        res += GNSSENTRY_TYPEC2;
     218      }
     219    }
     220    else if (rnxStr[2] == 'Q') {
    213221      res += GNSSENTRY_TYPEC2;
    214222    }
Note: See TracChangeset for help on using the changeset viewer.