Changeset 9286 in ntrip for branches


Ignore:
Timestamp:
Nov 26, 2020, 10:02:59 PM (3 years ago)
Author:
stuerze
Message:

minor changes

Location:
branches/BNC_2.12/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp

    r9263 r9286  
    10321032
    10331033    eph._receptDateTime = currentDateAndTimeGPS();
    1034     eph._receptStaID = _staID;   
     1034    eph._receptStaID = _staID;
    10351035
    10361036    GETBITS(i, 6)
     
    11111111    eph._receptDateTime = currentDateAndTimeGPS();
    11121112    eph._receptStaID = _staID;
    1113    
     1113
    11141114    GETBITS(sv, 6)
    11151115    eph._prn.set('R', sv);
     
    12361236    eph._receptDateTime = currentDateAndTimeGPS();
    12371237    eph._receptStaID = _staID;
    1238    
     1238
    12391239    GETBITS(i, 4)
    12401240    eph._prn.set('J', i);
     
    13191319    eph._receptDateTime = currentDateAndTimeGPS();
    13201320    eph._receptStaID = _staID;
    1321    
     1321
    13221322    GETBITS(i, 6)
    13231323    eph._prn.set('I', i);
     
    14101410    eph._receptDateTime = currentDateAndTimeGPS();
    14111411    eph._receptStaID = _staID;
    1412    
     1412
    14131413    GETBITS(i, 6)
    14141414    eph._prn.set('S', 20 + i);
     
    14651465    eph._receptDateTime = currentDateAndTimeGPS();
    14661466    eph._receptStaID = _staID;
    1467    
     1467
    14681468    eph._inav = (i == 1046);
    14691469    eph._fnav = (i == 1045);
     
    15711571    eph._receptDateTime = currentDateAndTimeGPS();
    15721572    eph._receptStaID = _staID;
    1573    
     1573
    15741574    GETBITS(i, 6)
    15751575    eph._prn.set('C', i);
     
    17451745        }
    17461746      }
    1747      else if (id >= 1070 && id <= 1229) { /* MSM */
     1747     else if (id >= 1070 && id <= 1237) { /* MSM */
    17481748        if (DecodeRTCM3MSM(_Message, _BlockSize))
    17491749          decoded = true;
  • branches/BNC_2.12/src/RTCM3/RTCM3Decoder.h

    r8805 r9286  
    6464   * {@link _MessageSize}: contains to current amount of bytes in the buffer<br>
    6565   * {@link _SkipBytes}: amount of bytes to skip at the beginning of the buffer
    66    * 
     66   *
    6767   * The functions sets following variables:<br>
    6868   * {@link _NeedBytes}: Minimum number of bytes needed on next call<br>
     
    9494  bool DecodeRTCM3GLONASS(unsigned char* buffer, int bufLen);
    9595  /**
    96    * Extract data from MSM 1070-1229 RTCM3 messages.
    97    * @param buffer the buffer containing an 1070-1229 RTCM block
     96   * Extract data from MSM 1070-1237 RTCM3 messages.
     97   * @param buffer the buffer containing an 1070-1237 RTCM block
    9898   * @param bufLen the length of the buffer (the message length including header+crc)
    9999   * @return <code>true</code> when data block is finished and transfered into
     
    137137   * @return <code>true</code> when data block was decodable
    138138   */
    139   bool DecodeIRNSSEphemeris(unsigned char* buffer, int bufLen); 
     139  bool DecodeIRNSSEphemeris(unsigned char* buffer, int bufLen);
    140140  /**
    141141   * Extract ephemeris data from 1045 and 1046 RTCM3 messages.
     
    174174
    175175  /** List of decoders for Clock and Orbit data */
    176   QMap<QByteArray, RTCM3coDecoder*> _coDecoders; 
     176  QMap<QByteArray, RTCM3coDecoder*> _coDecoders;
    177177
    178178  /** Message buffer for input parsing */
  • branches/BNC_2.12/src/bncgetthread.cpp

    r9127 r9286  
    558558          if ((rtcmType >= 1001 && rtcmType <= 1004) || // legacy RTCM OBS
    559559              (rtcmType >= 1009 && rtcmType <= 1012) || // legacy RTCM OBS
    560               (rtcmType >= 1071 && rtcmType <= 1137)) { // MSM RTCM OBS
     560              (rtcmType >= 1070 && rtcmType <= 1137)) { // MSM RTCM OBS
    561561            _rtcmObs = true;
    562562          } else if ((rtcmType >= 1057 && rtcmType <= 1068) ||
Note: See TracChangeset for help on using the changeset viewer.