Changeset 11185 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Nov 9, 2026, 12:15:48 PM (12 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r11115 r11185 96 96 BNC_CORE, SIGNAL(providerIDChanged(QString)), conType); 97 97 98 connect(this, SIGNAL(newMessage(QByteArray,bool)),99 BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));98 BNC_CORE->connectMessages(this, "ssr"); 99 BNC_CORE->connectLogRecords(this, "ssr"); 100 100 101 101 reset(); … … 300 300 } 301 301 else { 302 emit new Message("RTCM3coDecoder: _lastTime invalid: " + _staID.toLatin1(), true);302 emit newLogRecord(t_logRecord::message(t_logRecord::warning, "RTCM3coDecoder: _lastTime invalid: " + _staID.toLatin1()), true); 303 303 retCode = failure; 304 304 } … … 962 962 963 963 if (alreadySet && different) { 964 emit new Message("RTCM3coDecoder: SSR Provider or Service changed " + newProviderIDStr.toLatin1() + _staID.toLatin1(), true);964 emit newLogRecord(t_logRecord::message(t_logRecord::info, "RTCM3coDecoder: SSR Provider or Service changed " + newProviderIDStr.toLatin1() + _staID.toLatin1()), true); 965 965 emit providerIDChanged(_staID); 966 966 } … … 1104 1104 1105 1105 if (corrIsOutOfRange) { 1106 emit new Message("RTCM3coDecoder: Correction " + ssrParStr.toLatin1()1106 emit newLogRecord(t_logRecord::message(t_logRecord::warning, "RTCM3coDecoder: Correction " + ssrParStr.toLatin1() 1107 1107 + " (" + ssrParValue.toLatin1() + ") " 1108 + "is out of range " + _staID.toLatin1(), true); 1108 + "is out of range " + _staID.toLatin1()), true); 1109 1109 } 1110 1110 … … 1241 1241 warned = currentTime; 1242 1242 if (secOfWeek) { 1243 emit new Message(_staID.toLatin1() + ": IGS-SSR GLONASS epoch time erroneously encoded "1243 emit newLogRecord(t_logRecord::message(t_logRecord::warning, _staID.toLatin1() + ": IGS-SSR GLONASS epoch time erroneously encoded " 1244 1244 "(UTC seconds of week instead of GPS seconds of week, IGS SSR v1.00 IDF003) " 1245 "detected and converted - the SSR encoder should be corrected", true); 1245 "detected and converted - the SSR encoder should be corrected"), true); 1246 1246 } 1247 1247 else { 1248 emit new Message(_staID.toLatin1() + ": IGS-SSR GLONASS epoch time in outdated convention "1248 emit newLogRecord(t_logRecord::message(t_logRecord::warning, _staID.toLatin1() + ": IGS-SSR GLONASS epoch time in outdated convention " 1249 1249 "(UTC seconds of day instead of GPS seconds of week, IGS SSR v1.00 IDF003) " 1250 "detected and converted - the SSR encoder should be updated", true); 1250 "detected and converted - the SSR encoder should be updated"), true); 1251 1251 } 1252 1252 } … … 1281 1281 if (!warned.valid() || currentTime - warned >= 3600.0) { 1282 1282 warned = currentTime; 1283 emit new Message(_staID.toLatin1() + ": IGS-SSR BDS epoch time in outdated convention "1283 emit newLogRecord(t_logRecord::message(t_logRecord::warning, _staID.toLatin1() + ": IGS-SSR BDS epoch time in outdated convention " 1284 1284 "(BDT instead of GPS seconds of week, IGS SSR v1.00 IDF003) " 1285 "detected and converted - the SSR encoder should be updated", true); 1285 "detected and converted - the SSR encoder should be updated"), true); 1286 1286 } 1287 1287 } … … 1344 1344 if (!warned.valid() || currentTime - warned >= 3600.0) { 1345 1345 warned = currentTime; 1346 emit new Message(QString("%1: %2 SSR epoch time %3 %4 differs by %5 s from the GPS SSR epoch time "1346 emit newLogRecord(t_logRecord::message(t_logRecord::warning, QString("%1: %2 SSR epoch time %3 %4 differs by %5 s from the GPS SSR epoch time " 1347 1347 "of the stream - erroneously encoded?") 1348 1348 .arg(_staID).arg(epoSys) 1349 1349 .arg(QString::fromStdString(_lastTime.datestr())) 1350 1350 .arg(QString::fromStdString(_lastTime.timestr(0))) 1351 .arg(_lastTime - _lastGpsEpoch, 0, 'f', 0).toLatin1(), true); 1351 .arg(_lastTime - _lastGpsEpoch, 0, 'f', 0).toLatin1()), true); 1352 1352 } 1353 1353 } … … 1380 1380 if (!_prnOutOfRangeLogged.contains(prnStr)) { 1381 1381 _prnOutOfRangeLogged.insert(prnStr); 1382 emit new Message(QString("%1: satellite %2 outside the range supported by BNC - not usable for processing")1383 .arg(_staID).arg(prnStr).toLatin1(), true); 1382 emit newLogRecord(t_logRecord::message(t_logRecord::warning, QString("%1: satellite %2 outside the range supported by BNC - not usable for processing") 1383 .arg(_staID).arg(prnStr).toLatin1()), true); 1384 1384 } 1385 1385 } … … 1421 1421 if (!_antennaIODLogged.contains(key)) { 1422 1422 _antennaIODLogged.insert(key); 1423 emit new Message(QString("%1: GNSS %2 Satellite Antenna IOD switches back %3 -> %4"1423 emit newLogRecord(t_logRecord::message(t_logRecord::warning, QString("%1: GNSS %2 Satellite Antenna IOD switches back %3 -> %4" 1424 1424 " - messages of one GNSS must use the same IOD") 1425 .arg(_staID).arg(sys).arg(_antennaIODCur[s]).arg(iod).toLatin1(), true); 1425 .arg(_staID).arg(sys).arg(_antennaIODCur[s]).arg(iod).toLatin1()), true); 1426 1426 } 1427 1427 }
Note:
See TracChangeset
for help on using the changeset viewer.
