Changeset 9398 in ntrip


Ignore:
Timestamp:
Apr 1, 2021, 12:02:16 PM (18 months ago)
Author:
stuerze
Message:

update regarding PPP

Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

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

    r9395 r9398  
    823823      }
    824824    }
    825 
     825    // all available satellites were already tried to use
    826826    if ((!refSatDefined) && (refSatReDefinition == failure)) {
    827827      refSat->setPrn(t_prn(sys, 99));
    828       continue;
     828      _obsPool->setRefSatChangeRequired(sys, false);
     829      return;
    829830    }
    830831
     
    852853    }
    853854
    854     if (!refSatDefined) { // no observations for that system
     855    // no observations for that system
     856    // ===============================
     857    if (!refSatDefined) {
    855858      refSat->setPrn(t_prn());
    856859    }
    857     _obsPool->setRefSatChangeRequired(sys, false);
    858   }
     860
     861    _obsPool->setRefSatChangeRequired(sys, false); // done or impossible
     862  }
     863
     864  return;
    859865}
    860866
     
    876882    }
    877883    else if (prn.number() == 99) { // refSat re-definition not possible
     884#ifdef BNC_DEBUG_PPP
     885          LOG << " => refSat re-definition impossible: " << sys << endl;
     886#endif
    878887      return failure;
    879888    }
  • trunk/BNC/src/PPP/pppFilter.cpp

    r9395 r9398  
    209209    return failure;
    210210  }
    211   if (preProcessing && _obsPool->refSatChangeRequired(sys)) { // from detectCycleSlips()
    212 #ifdef BNC_DEBUG_PPP
    213     LOG << "_obsPool->refSatChangeRequired(" << sys << ") from detectCycleSlips()" << endl;
    214 #endif
     211  if (preProcessing && _obsPool->refSatChangeRequired(sys)) {
    215212    return success;
    216213  }
Note: See TracChangeset for help on using the changeset viewer.