Changeset 8808 in ntrip


Ignore:
Timestamp:
Sep 20, 2019, 3:21:11 PM (5 years ago)
Author:
stuerze
Message:

bug fixed with respect to multiple message indicator within ssr messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8761 r8808  
    24112411        }
    24122412      }
    2413       int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) ? 1 : 0;
     2413      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0 ||
     2414                  co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 ||
     2415                  co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
     2416                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
     2417                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
    24142418      int len2 = MakeClockOrbit(&co, COTYPE_GPSCLOCK, mmsg, obuffer,
    24152419          sizeof(obuffer));
     
    24292433        }
    24302434      }
    2431       int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0) ? 1 : 0;
     2435      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 ||
     2436                  co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
     2437                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
     2438                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
    24322439      int len2 = MakeClockOrbit(&co, COTYPE_GLONASSCLOCK, mmsg, obuffer,
    24332440          sizeof(obuffer));
     
    24472454        }
    24482455      }
    2449       int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0) ? 1 : 0;
     2456      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS]    > 0 ||
     2457                  co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
     2458                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
    24502459      int len2 = MakeClockOrbit(&co, COTYPE_GALILEOCLOCK, mmsg, obuffer,
    24512460          sizeof(obuffer));
     
    24652474        }
    24662475      }
    2467       int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0) ? 1 : 0;
     2476      int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS]    > 0 ||
     2477                  co.NumberOfSat[CLOCKORBIT_SATBDS]     > 0   ) ? 1 : 0;
    24682478      int len2 = MakeClockOrbit(&co, COTYPE_QZSSCLOCK, mmsg, obuffer,
    24692479          sizeof(obuffer));
     
    25012511        }
    25022512      }
    2503       int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, 0, obuffer,
     2513      int mmsg = 0;
     2514      int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, mmsg, obuffer,
    25042515          sizeof(obuffer));
    25052516      if (len2 > 0) {
Note: See TracChangeset for help on using the changeset viewer.