Changeset 9882 in ntrip
- Timestamp:
- Nov 21, 2022, 2:26:29 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9881 r9882 306 306 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(1); 307 307 if (nextEpoch != -1 && nextEpoch < iEpoEnd) { 308 rtnetStreamBuffer = rtnetStreamBuffer.mid(nextEpoch );309 lines = _rtnetStreamBuffer. left(nextEpochEnd).split('\n', QString::SkipEmptyParts);308 rtnetStreamBuffer = rtnetStreamBuffer.mid(nextEpoch, nextEpochEnd);cout <<"===\n" << rtnetStreamBuffer.toStdString().c_str() << << "\n===" endl; 309 lines = _rtnetStreamBuffer.split('\n', QString::SkipEmptyParts); 310 310 if (lines.size() > 2) { 311 311 decodeRtnetEpoch(lines); 312 312 } 313 nextEpoch = _rtnetStreamBuffer.indexOf('*');314 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpoch );315 316 } 317 else if (nextEpoch != -1 && nextEpoch >= iEpoEnd) { 313 nextEpochEnd = rtnetStreamBuffer.indexOf("EOE"); 314 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpochEnd+3); 315 316 } 317 else if (nextEpoch != -1 && nextEpoch >= iEpoEnd) {cout << "bin hier" << endl; 318 318 break; 319 319 }
Note:
See TracChangeset
for help on using the changeset viewer.