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


Ignore:
Timestamp:
Jul 8, 2012, 10:11:58 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4396 r4397  
    106106  int iEntry = -1;
    107107
    108   // TODO: this is a preliminary solution
    109   // ------------------------------------
     108  // GPS
     109  // ---
    110110  if (satSys == 'G') {
    111111    if      (rnxStr == "C1")                      iEntry = GNSSENTRY_C1NDATA;
     
    137137  }
    138138
     139  // Glonass
     140  // -------
     141  else if (satSys == 'R') {
     142    if      (rnxStr == "C1C") iEntry = GNSSENTRY_C1DATA; 
     143    else if (rnxStr == "C1P") iEntry = GNSSENTRY_P1DATA; 
     144    else if (rnxStr == "L1C") iEntry = GNSSENTRY_L1CDATA;
     145    else if (rnxStr == "L1P") iEntry = GNSSENTRY_L1PDATA;
     146    else if (rnxStr == "D1C") iEntry = GNSSENTRY_D1CDATA;
     147    else if (rnxStr == "D1P") iEntry = GNSSENTRY_D1PDATA;
     148    else if (rnxStr == "S1C") iEntry = GNSSENTRY_S1CDATA;
     149    else if (rnxStr == "S1P") iEntry = GNSSENTRY_S1PDATA;
     150
     151    else if (rnxStr == "C2C") iEntry = GNSSENTRY_C2DATA; 
     152    else if (rnxStr == "C2P") iEntry = GNSSENTRY_P2DATA; 
     153    else if (rnxStr == "L2C") iEntry = GNSSENTRY_L2CDATA;
     154    else if (rnxStr == "L2P") iEntry = GNSSENTRY_L2PDATA;
     155    else if (rnxStr == "D2C") iEntry = GNSSENTRY_D2CDATA;
     156    else if (rnxStr == "D2P") iEntry = GNSSENTRY_D2PDATA;
     157    else if (rnxStr == "S2C") iEntry = GNSSENTRY_S2CDATA;
     158    else if (rnxStr == "S2P") iEntry = GNSSENTRY_S2PDATA;
     159  }
     160
    139161  // Set iEntry pointer if required
    140162  // ------------------------------
Note: See TracChangeset for help on using the changeset viewer.