Changeset 9212 in ntrip for trunk/BNC/src
- Timestamp:
- Nov 4, 2020, 3:28:55 PM (4 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r9210 r9212 1023 1023 1024 1024 eph._receptDateTime = currentDateAndTimeGPS(); 1025 eph._receptStaID = _staID; 1025 1026 1026 1027 GETBITS(i, 6) … … 1100 1101 1101 1102 eph._receptDateTime = currentDateAndTimeGPS(); 1103 eph._receptStaID = _staID; 1102 1104 1103 1105 GETBITS(sv, 6) … … 1224 1226 1225 1227 eph._receptDateTime = currentDateAndTimeGPS(); 1228 eph._receptStaID = _staID; 1226 1229 1227 1230 GETBITS(i, 4) … … 1306 1309 1307 1310 eph._receptDateTime = currentDateAndTimeGPS(); 1311 eph._receptStaID = _staID; 1308 1312 1309 1313 GETBITS(i, 6) … … 1396 1400 1397 1401 eph._receptDateTime = currentDateAndTimeGPS(); 1402 eph._receptStaID = _staID; 1398 1403 1399 1404 GETBITS(i, 6) … … 1450 1455 1451 1456 eph._receptDateTime = currentDateAndTimeGPS(); 1457 eph._receptStaID = _staID; 1452 1458 1453 1459 eph._inav = (i == 1046); … … 1555 1561 1556 1562 eph._receptDateTime = currentDateAndTimeGPS(); 1563 eph._receptStaID = _staID; 1557 1564 1558 1565 GETBITS(i, 6) … … 1729 1736 * else. */ 1730 1737 if ((id >= 1057 && id <= 1068) || 1731 1732 1738 (id >= 1240 && id <= 1270) || 1739 (id == 4076)) { 1733 1740 if (!_coDecoders.contains(_staID.toLatin1())) { 1734 1741 _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID); … … 1741 1748 coDecoder->setSsrFormatType(RTCM3coDecoder::RTCMssr); 1742 1749 } 1743 if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize, 1744 errmsg) == success) { 1750 if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize, errmsg) == success) { 1745 1751 decoded = true; 1746 1752 } -
trunk/BNC/src/bnccore.cpp
r9158 r9212 206 206 } 207 207 else if (eph->checkState() == t_eph::outdated) { 208 messagePrivate("OUTDATED EPHEMERIS\n" + eph->toString(3.0).toLatin1()); 208 messagePrivate(QString("OUTDATED EPHEMERIS %1 received from %2 (%4)") 209 .arg(eph->prn().toString().c_str()).arg(eph->receptStaID()) 210 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toLatin1()); 209 211 return failure; 210 212 } 211 213 else if (eph->checkState() == t_eph::unhealthy) { 212 messagePrivate("UNHEALTHY EPHEMERIS\n" + eph->toString(3.0).toLatin1()); 214 messagePrivate(QString("UNHEALTHY EPHEMERIS %1 received from %2 (%4)") 215 .arg(eph->prn().toString().c_str()).arg(eph->receptStaID()) 216 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toLatin1()); 213 217 } 214 218 printEphHeader(); -
trunk/BNC/src/ephemeris.h
r8925 r9212 37 37 void setClkCorr(const t_clkCorr* clkCorr); 38 38 const QDateTime& receptDateTime() const {return _receptDateTime;} 39 const QString receptStaID() const {return _receptStaID;} 39 40 static QString rinexDateStr(const bncTime& tt, const t_prn& prn, double version); 40 41 static QString rinexDateStr(const bncTime& tt, const QString& prnStr, double version); … … 47 48 bncTime _TOC; 48 49 QDateTime _receptDateTime; 50 QString _receptStaID; 49 51 e_checkState _checkState; 50 52 t_orbCorr* _orbCorr; … … 87 89 _TOT = 0.0; 88 90 _fitInterval = 0.0; 91 _receptStaID = ""; 89 92 } 90 93 t_ephGPS(float rnxVersion, const QStringList& lines); … … 186 189 _M_tau_GPS = 0.0; 187 190 _M_l5 = 0.0; 191 _receptStaID = ""; 188 192 } 189 193 t_ephGlo(float rnxVersion, const QStringList& lines); … … 278 282 _BGD_1_5B = 0.0; 279 283 _TOT = 0.0; 284 _receptStaID = ""; 280 285 }; 281 286 t_ephGal(float rnxVersion, const QStringList& lines); … … 358 363 _ura = 0.0; 359 364 _health = 0.0; 365 _receptStaID = ""; 360 366 } 361 367 t_ephSBAS(float rnxVersion, const QStringList& lines); … … 425 431 _TOEsec = 0.0; 426 432 _TOEweek =-1.0; 433 _receptStaID = ""; 427 434 } 428 435 t_ephBDS(float rnxVersion, const QStringList& lines);
Note:
See TracChangeset
for help on using the changeset viewer.