Changeset 11029 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Sep 16, 2026, 3:43:13 PM (11 days ago)
Author:
stuerze
Message:

updates regarding SSR

Location:
trunk/BNC/src/RTCM3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r11024 r11029  
    22632263      if ((id >= 1057 && id <= 1068) ||
    22642264          (id >= 1240 && id <= 1270) ||
    2265           (id > 0     && id <= 100) ||
     2265         // (id > 0     && id <= 100) ||
    22662266          (id == 4076)) {
    22672267        if (!_coDecoders.contains(_staID.toLatin1())) {
    … …  
    22712271          }
    22722272          else {
    2273             _coDecoders[_staID.toLatin1()]->initSsrFormatType(RTCM3coDecoder::RTCMnewssr);
     2273           // _coDecoders[_staID.toLatin1()]->initSsrFormatType(RTCM3coDecoder::RTCMnewssr);
     2274            _coDecoders[_staID.toLatin1()]->initSsrFormatType(RTCM3coDecoder::RTCMssr);
    22742275          }
    22752276        }
  • trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_igs.cpp

    r11004 r11029  
    665665              return GCOBR_NOPHASEBIASPARAMETER;
    666666            pb->messageType = igstype;
    667             D_GPS_EPOCH_TIME_CHECK(pb->EpochTime[s], pb->NumberOfSat[s])
     667            /* pb->NumberOfSat[s] is no longer cleared by the caller between
     668             * messages (kept intact so a subsequent Extended Phase Bias
     669             * message in new RTCM-SSR format can correlate against it),
     670             * so this decode must start
     671             * each fresh message with an empty satellite list itself rather
     672             * than relying on D_GPS_EPOCH_TIME_CHECK's stale-data check,
     673             * which would otherwise reject every message but the first with
     674             * GCOBR_TIMEMISMATCH. */
     675            pb->NumberOfSat[s] = 0;
     676            D_GPS_EPOCH_TIME(pb->EpochTime[s])
    668677            D_SSR_UPDATE_INTERVAL(pb->UpdateInterval)
    669678            D_MULTIPLE_MESSAGE_INDICATOR(mmi)
  • trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.cpp

    r11004 r11029  
    588588        return GCOBR_NOPHASEBIASPARAMETER;
    589589      pb->messageType = type;
     590      /* pb->NumberOfSat[s] is no longer cleared by the caller between
     591       * messages (kept intact so a subsequent Extended Phase Bias message
     592       * can correlate against it), so this decode must start each fresh
     593       * message with an empty satellite list itself rather than relying
     594       * on D_..._EPOCH_TIME_CHECK's stale-data check, which would
     595       * otherwise reject every message but the first with GCOBR_TIMEMISMATCH. */
     596      pb->NumberOfSat[s] = 0;
    590597      switch (s) {
    591598        case CLOCKORBIT_SATGPS:
    … …  
    594601        case CLOCKORBIT_SATSBAS:
    595602        case CLOCKORBIT_SATBDS:
    596           D_GPS_EPOCH_TIME_CHECK(pb->EpochTime[s], pb->NumberOfSat[s])
     603          D_GPS_EPOCH_TIME(pb->EpochTime[s])
    597604          break;
    598605        case CLOCKORBIT_SATGLONASS:
    599           D_GLONASS_EPOCH_TIME_CHECK(pb->EpochTime[s], pb->NumberOfSat[s])
     606          D_GLONASS_EPOCH_TIME(pb->EpochTime[s])
    600607          break;
    601608      }
Note: See TracChangeset for help on using the changeset viewer.