Changeset 5374 in ntrip


Ignore:
Timestamp:
Aug 30, 2013, 11:45:45 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5371 r5374  
    176176      res += GNSSENTRY_TYPEC1;
    177177    }
    178     else if (QString("ABCSLX").indexOf(rnxStr[2]) != -1) {
     178    else if (QString("ABCIQ").indexOf(rnxStr[2]) != -1) {
    179179      res += GNSSENTRY_TYPEC1;
     180    }
     181    else if (QString("SL").indexOf(rnxStr[2]) != -1) {
     182      res += GNSSENTRY_TYPEC1N;
    180183    }
    181184    else if (QString("PWY").indexOf(rnxStr[2])    != -1) {
     
    184187    else if (rnxStr[2] == 'Z') {
    185188      res += GNSSENTRY_TYPECSAIF;
     189    }
     190    else if (rnxStr[2] == 'X') {
     191      if (satSys == 'C') {
     192        res += GNSSENTRY_TYPEC1;
     193      }
     194      else {
     195        res += GNSSENTRY_TYPEC1N;
     196      }
    186197    }
    187198    else {
     
    199210      res += GNSSENTRY_TYPEC2;
    200211    }
    201     else if (rnxStr[2] == 'I') {
    202       if (satSys == 'C') {
    203         res += GNSSENTRY_TYPEC2;
    204       }
    205       else {
    206         res += GNSSENTRY_TYPEC5B;
    207       }
     212    else if (QString("IQ").indexOf(rnxStr[2]) != -1) {
     213      res += GNSSENTRY_TYPEC2;
    208214    }
    209215    else {
Note: See TracChangeset for help on using the changeset viewer.