Changeset 9216 in ntrip for branches/BNC_2.12
- Timestamp:
- Nov 4, 2020, 4:02:19 PM (4 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
r9209 r9216 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(); 1102 1103 eph._receptStaID = _staID; 1104 1103 1105 GETBITS(sv, 6) 1104 1106 eph._prn.set('R', sv); … … 1224 1226 1225 1227 eph._receptDateTime = currentDateAndTimeGPS(); 1226 1228 eph._receptStaID = _staID; 1229 1227 1230 GETBITS(i, 4) 1228 1231 eph._prn.set('J', i); … … 1306 1309 1307 1310 eph._receptDateTime = currentDateAndTimeGPS(); 1308 1311 eph._receptStaID = _staID; 1312 1309 1313 GETBITS(i, 6) 1310 1314 eph._prn.set('I', i); … … 1396 1400 1397 1401 eph._receptDateTime = currentDateAndTimeGPS(); 1398 1402 eph._receptStaID = _staID; 1403 1399 1404 GETBITS(i, 6) 1400 1405 eph._prn.set('S', 20 + i); … … 1450 1455 1451 1456 eph._receptDateTime = currentDateAndTimeGPS(); 1452 1457 eph._receptStaID = _staID; 1458 1453 1459 eph._inav = (i == 1046); 1454 1460 eph._fnav = (i == 1045); … … 1555 1561 1556 1562 eph._receptDateTime = currentDateAndTimeGPS(); 1557 1563 eph._receptStaID = _staID; 1564 1558 1565 GETBITS(i, 6) 1559 1566 eph._prn.set('C', i); -
branches/BNC_2.12/src/bnccore.cpp
r8351 r9216 202 202 t_irc ircPut = _ephUser.putNewEph(eph, true); 203 203 if (eph->checkState() == t_eph::bad) { 204 messagePrivate("WRONG EPHEMERIS\n" + eph->toString(3.0).toAscii()); 204 messagePrivate(QString("WRONG EPHEMERIS %1 received from %2 (%4)") 205 .arg(eph->prn().toString().c_str()).arg(eph->receptStaID()) 206 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toAscii()); 205 207 return failure; 206 208 } 207 209 else if (eph->checkState() == t_eph::outdated) { 208 messagePrivate("OUTDATED EPHEMERIS\n" + eph->toString(3.0).toAscii()); 210 messagePrivate(QString("OUTDATED EPHEMERIS %1 received from %2 (%4)") 211 .arg(eph->prn().toString().c_str()).arg(eph->receptStaID()) 212 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toAscii()); 209 213 return failure; 210 214 } 211 215 else if (eph->checkState() == t_eph::unhealthy) { 212 messagePrivate("UNHEALTHY EPHEMERIS\n" + eph->toString(3.0).toLatin1()); 216 messagePrivate(QString("UNHEALTHY EPHEMERIS %1 received from %2 (%4)") 217 .arg(eph->prn().toString().c_str()).arg(eph->receptStaID()) 218 .arg(eph->rinexDateStr(eph->TOC(), eph->prn(), 3.0)).toAscii()); 213 219 } 214 220 printEphHeader(); -
branches/BNC_2.12/src/ephemeris.h
r8926 r9216 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); … … 187 190 _M_tau_GPS = 0.0; 188 191 _M_l5 = 0.0; 192 _receptStaID = ""; 189 193 } 190 194 t_ephGlo(float rnxVersion, const QStringList& lines); … … 279 283 _BGD_1_5B = 0.0; 280 284 _TOT = 0.0; 285 _receptStaID = ""; 281 286 }; 282 287 t_ephGal(float rnxVersion, const QStringList& lines); … … 359 364 _ura = 0.0; 360 365 _health = 0.0; 366 _receptStaID = ""; 361 367 } 362 368 t_ephSBAS(float rnxVersion, const QStringList& lines); … … 426 432 _TOEsec = 0.0; 427 433 _TOEweek =-1.0; 434 _receptStaID = ""; 428 435 } 429 436 t_ephBDS(float rnxVersion, const QStringList& lines); -
branches/BNC_2.12/src/src.pri
r9209 r9216 27 27 debug:DEFINES += BNC_DEBUG_BCEP 28 28 #debug:DEFINES += BNC_DEBUG_SSR 29 release:DEFINES += BNC_DEBUG_BCEP 29 30 30 31 # Include Path
Note:
See TracChangeset
for help on using the changeset viewer.