Changeset 8807 in ntrip for branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
- Timestamp:
- Sep 20, 2019, 3:16:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r8759 r8807 2406 2406 } 2407 2407 } 2408 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) ? 1 : 0; 2408 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0 || 2409 co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 || 2410 co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0 || 2411 co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 || 2412 co.NumberOfSat[CLOCKORBIT_SATBDS] > 0 ) ? 1 : 0; 2409 2413 int len2 = MakeClockOrbit(&co, COTYPE_GPSCLOCK, mmsg, obuffer, 2410 2414 sizeof(obuffer)); … … 2424 2428 } 2425 2429 } 2426 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0) ? 1 : 0; 2430 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0 || 2431 co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0 || 2432 co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 || 2433 co.NumberOfSat[CLOCKORBIT_SATBDS] > 0 ) ? 1 : 0; 2427 2434 int len2 = MakeClockOrbit(&co, COTYPE_GLONASSCLOCK, mmsg, obuffer, 2428 2435 sizeof(obuffer)); … … 2442 2449 } 2443 2450 } 2444 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0) ? 1 : 0; 2451 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0 || 2452 co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 || 2453 co.NumberOfSat[CLOCKORBIT_SATBDS] > 0 ) ? 1 : 0; 2445 2454 int len2 = MakeClockOrbit(&co, COTYPE_GALILEOCLOCK, mmsg, obuffer, 2446 2455 sizeof(obuffer)); … … 2460 2469 } 2461 2470 } 2462 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0) ? 1 : 0; 2471 int mmsg = (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 || 2472 co.NumberOfSat[CLOCKORBIT_SATBDS] > 0 ) ? 1 : 0; 2463 2473 int len2 = MakeClockOrbit(&co, COTYPE_QZSSCLOCK, mmsg, obuffer, 2464 2474 sizeof(obuffer)); … … 2496 2506 } 2497 2507 } 2498 int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, 0, obuffer, 2508 int mmsg = 0; 2509 int len2 = MakeClockOrbit(&co, COTYPE_BDSCLOCK, mmsg, obuffer, 2499 2510 sizeof(obuffer)); 2500 2511 if (len2 > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.