Changeset 6864 in ntrip


Ignore:
Timestamp:
May 29, 2015, 12:19:02 PM (9 years ago)
Author:
stuerze
Message:

scanning of GLONASS slots is added

Location:
trunk/BNC/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/GPSDecoder.h

    r6812 r6864  
    8181  QStringList      _antType;   // RTCM antenna descriptor
    8282  QList<t_antInfo> _antList;   // RTCM antenna XYZ
     83  QString          _gloFrq;    // GLONASS slot
    8384  bncRinex*        _rnx;       // RINEX writer
    8485};
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r6856 r6864  
    10611061    eph._frequency_number = i-7;
    10621062    GLOFreq[sv-1] = 100+i-7; /* store frequency for other users (MSM) */
    1063 
     1063    _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frequency_number,2,'f',0);
    10641064    SKIPBITS(4) /* almanac healthy, almanac health ok, P1 */
    10651065    GETBITS(i, 5)
  • trunk/BNC/src/bncgetthread.cpp

    r6812 r6864  
    790790                       hh, antT));
    791791      }
     792
     793      // RTCM GLONASS slots
     794      // ------------------
     795      if (decoder()->_gloFrq.size()) {
     796        bool allFound = true;
     797        QString slot = decoder()->_gloFrq;
     798        if (_gloSlots.indexOf(slot) == -1) {
     799          _gloSlots.append(slot);
     800          allFound = false;
     801        }
     802        if (!allFound) {
     803          _gloSlots.sort();
     804          emit(newMessage(_staID + ": GLONASS slots "  + _gloSlots.join(" ").toAscii(), true));
     805        }
     806      }
    792807    }
    793808  }
     
    816831#endif
    817832
     833  decoder()->_gloFrq.clear();
    818834  decoder()->_typeList.clear();
    819835  decoder()->_antType.clear();
  • trunk/BNC/src/bncgetthread.h

    r6751 r6864  
    127127   QMap<QString, long>        _prnLastEpo;
    128128   QMap<char, QVector<QString> > _rnxTypes;
     129   QStringList                _gloSlots;
    129130};
    130131
Note: See TracChangeset for help on using the changeset viewer.