Changeset 10259 in ntrip for trunk/BNC/src/PPP/pppParlist.cpp


Ignore:
Timestamp:
Nov 27, 2023, 3:58:48 PM (11 months ago)
Author:
stuerze
Message:

changes regarding PPP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppParlist.cpp

    r10256 r10259  
    497497  // GLONASS Clock Offset
    498498  // --------------------
    499   if (OPT->useSystem('R')) {
     499  if ( _usedSystems.contains('R')  &&
     500      (_usedSystems.contains('G') || _usedSystems.contains('E') || _usedSystems.contains('C'))) {
    500501    required.push_back(new t_pppParam(t_pppParam::offGlo, t_prn(), t_lc::dummy));
     502  }
     503  else {
     504    PPP_CLIENT->resetOffGlo();
    501505  }
    502506
    503507  // Galileo Clock Offset
    504508  // --------------------
    505   if (OPT->useSystem('E')) {
     509  if (_usedSystems.contains('E') && _usedSystems.contains('G')) {
    506510    required.push_back(new t_pppParam(t_pppParam::offGal, t_prn(), t_lc::dummy));
     511  }
     512  else {
     513    PPP_CLIENT->resetOffGal();
    507514  }
    508515
    509516  // BDS Clock Offset
    510517  // ----------------
    511   if (OPT->useSystem('C')) {
     518  if (_usedSystems.contains('C')  && (_usedSystems.contains('G') || _usedSystems.contains('E'))) {
    512519    required.push_back(new t_pppParam(t_pppParam::offBds, t_prn(), t_lc::dummy));
     520  }
     521  else {
     522    PPP_CLIENT->resetOffBds();
    513523  }
    514524
Note: See TracChangeset for help on using the changeset viewer.