Changeset 8808 in ntrip for trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Sep 20, 2019, 3:21:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8761 r8808 2411 2411 } 2412 2412 } 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; 2414 2418 int len2 = MakeClockOrbit(&co, COTYPE_GPSCLOCK, mmsg, obuffer, 2415 2419 sizeof(obuffer)); … … 2429 2433 } 2430 2434 } 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; 2432 2439 int len2 = MakeClockOrbit(&co, COTYPE_GLONASSCLOCK, mmsg, obuffer, 2433 2440 sizeof(obuffer)); … … 2447 2454 } 2448 2455 } 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; 2450 2459 int len2 = MakeClockOrbit(&co, COTYPE_GALILEOCLOCK, mmsg, obuffer, 2451 2460 sizeof(obuffer)); … … 2465 2474 } 2466 2475 } 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; 2468 2478 int len2 = MakeClockOrbit(&co, COTYPE_QZSSCLOCK, mmsg, obuffer, 2469 2479 sizeof(obuffer)); … … 2501 2511 } 2502 2512 } 2503 int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, 0, obuffer, 2513 int mmsg = 0; 2514 int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, mmsg, obuffer, 2504 2515 sizeof(obuffer)); 2505 2516 if (len2 > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.