Changeset 9887 in ntrip for trunk


Ignore:
Timestamp:
Nov 21, 2022, 4:32:41 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r9886 r9887  
    300300  while (_rtnetStreamBuffer.count('*') > 1) {
    301301    cout << "more than 1 epoch in buffer: " << _rtnetStreamBuffer.count('*') << endl;
    302     cout <<"XX MORE THAN 1 EPOCH XXX\n" << _rtnetStreamBuffer.toStdString().c_str()  << "\nXX MORE THAN 1 EPOCH XXX" <<endl;
     302    cout <<"XX MORE THAN 1 EPOCH XXX\n" << _rtnetStreamBuffer.toStdString().c_str()  << "\nXXXXXXXXXXXXXXXXX" <<endl;
    303303    emit(newMessage(QString("bncRtnetUploadCaster: more than 1 epoch in buffer: %1").arg(_rtnetStreamBuffer.count('*')).toLatin1(), false));
    304304    QString rtnetStreamBuffer = _rtnetStreamBuffer;
     
    310310      lines = rtnetStreamBuffer.split('\n', QString::SkipEmptyParts);
    311311      if (lines.size() > 2) {
    312         cout << "----------LINES 2 DECODE-------------\n" << rtnetStreamBuffer.toStdString().c_str() << "\n------------------" << endl;
     312        cout << "----------LINES 2 DECODE (WHILE)-------------\n" << rtnetStreamBuffer.toStdString().c_str() << "\n------------------" << endl;
    313313        decodeRtnetEpoch(lines);
    314314      }
    315315      nextEpochEnd = _rtnetStreamBuffer.indexOf("EOE");
    316316      _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpochEnd+3);
    317 
    318317    }
    319318    else if (nextEpoch != -1 && nextEpoch >= iEpoEnd) {cout << "bin hier" << endl;
     
    323322
    324323  lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', QString::SkipEmptyParts);
    325 
     324  cout << "----------LINES 2 DECODE (OUTSIDE)-------------\n" << _rtnetStreamBuffer.left(iEpoEnd).toStdString().c_str() << "\n------------------" << endl;
    326325  _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
    327326  cout <<"YYYY REST OF BUFFER YYYY\n" << _rtnetStreamBuffer.toStdString().c_str()  << "\nYYYYYY" <<endl;
     
    330329    return;
    331330  }
    332   cout << "----------LINES 2 DECODE-------------\n" << _rtnetStreamBuffer.left(iEpoEnd).toStdString().c_str() << "\n------------------" << endl;
    333331  decodeRtnetEpoch(lines);
    334 
    335332}
    336333
Note: See TracChangeset for help on using the changeset viewer.