Changeset 9216 in ntrip for branches/BNC_2.12/src/bnccore.cpp


Ignore:
Timestamp:
Nov 4, 2020, 4:02:19 PM (11 months ago)
Author:
stuerze
Message:

ephemeris checks + debugging output added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bnccore.cpp

    r8351 r9216  
    202202  t_irc ircPut = _ephUser.putNewEph(eph, true);
    203203  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());
    205207    return failure;
    206208  }
    207209  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());
    209213    return failure;
    210214  }
    211215  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());
    213219  }
    214220  printEphHeader();
Note: See TracChangeset for help on using the changeset viewer.