Changeset 657 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jan 22, 2008, 4:10:32 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r649 r657  
    105105        }
    106106        _ObsBlock.clear();
     107        return success;
    107108      }
    108109    }
  • trunk/BNC/bncgetthread.cpp

    r652 r657  
    398398
    399399        if ( !_decodeFailure.isValid() ||
    400              _decodeFailure.secsTo(QDateTime::currentDateTime()) > 10 ) {
     400             _decodeFailure.secsTo(QDateTime::currentDateTime()) > 60 ) {
    401401          if ( _decoder->Decode(data, nBytes) == success ) {
    402402            _decodeFailure.setDate(QDate());
     
    405405          else {
    406406            _decodeFailure = QDateTime::currentDateTime();
     407          }
     408        }
     409        else {
     410          if ( _decodeFailure.isValid() &&
     411               _decodeFailure.secsTo(QDateTime::currentDateTime()) < 5 &&
     412               _decoder->Decode(data, nBytes) == success ) {
     413               _decodeFailure.setDate(QDate());
     414               _decodeFailure.setTime(QTime());
    407415          }
    408416        }
Note: See TracChangeset for help on using the changeset viewer.