Changeset 2501 in ntrip for trunk/rtcm3torinex/lib


Ignore:
Timestamp:
Jun 28, 2010, 3:54:17 PM (14 years ago)
Author:
stoecker
Message:

fix #5 - support date reading from block 1013

Location:
trunk/rtcm3torinex/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinex.c

    r2500 r2501  
    334334        handle->antenna[antnum] = 0;
    335335        ret = type;
     336      }
     337      break;
     338    case 1013:
     339      {
     340        SKIPBITS(12);
     341        GETBITS(handle->modjulday, 16);
     342        GETBITS(handle->secofday, 17);
     343        SKIPBITS(5);
     344        GETBITS(handle->leapsec, 8);
     345        ret = 1013;
    336346      }
    337347      break;
  • trunk/rtcm3torinex/lib/rtcm3torinex.h

    r2491 r2501  
    220220  char   antenna[256+1];
    221221  int    blocktype;
     222  int    modjulday;
     223  int    secofday;
     224  int    leapsec;
    222225#endif /* NO_RTCM3_MAIN */
    223226  int    datapos[RINEXENTRY_NUMBER];
Note: See TracChangeset for help on using the changeset viewer.