Changeset 9873 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Nov 21, 2022, 11:44:45 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9871 r9873 300 300 cout << "more than 1 epoch in buffer: " << _rtnetStreamBuffer.count('*') << endl; 301 301 emit(newMessage(QString("bncRtnetUploadCaster: more than 1 epoch in buffer: %1").arg(_rtnetStreamBuffer.count('*')).toLatin1(), false)); 302 QString rtnetStreamBuffer = _rtnetStreamBuffer.mid(1); 303 int nextEpoch = rtnetStreamBuffer.indexOf('*'); 302 int nextEpochEnd = _rtnetStreamBuffer.indexOf("EOE"); 303 QString rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpochEnd); 304 int nextEpoch = rtnetStreamBuffer.indexOf('*'); 304 305 cout << "=============" << endl; 305 306 cout << "nextEpoch: " << nextEpoch << endl; … … 308 309 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpoch); 309 310 cout << "next Epoch:\n" << _rtnetStreamBuffer.toStdString().c_str() << endl; 310 311 311 } 312 312 else if (nextEpoch != -1 && nextEpoch >= iEpoEnd) {
Note:
See TracChangeset
for help on using the changeset viewer.