Changeset 10769 in ntrip


Ignore:
Timestamp:
Oct 23, 2025, 6:24:59 PM (4 weeks ago)
Author:
stuerze
Message:

CHANGED: BDS IOD depends on Navigation message type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r10688 r10769  
    27442744////////////////////////////////////////////////////////////////////////////
    27452745unsigned int t_ephBDS::IOD() const {
    2746   return (int(_TOC.gpssec()) / 720) % 240;   //return (int(_TOEsec)/720) % 240;
     2746  if (type() == t_eph::D1 ||
     2747      type() == t_eph::D2) {
     2748    return (int(_TOC.gpssec()) / 720) % 240;
     2749  }
     2750  else {
     2751    return _IODE;
     2752  }
    27472753}
    27482754
Note: See TracChangeset for help on using the changeset viewer.