Changeset 1820 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Apr 30, 2009, 11:14:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/clock_orbit_rtcm.c
r1809 r1820 3 3 Name: clock_orbit_rtcm.c 4 4 Project: RTCM3 5 Version: $Id: clock_orbit_rtcm.c,v 1. 4 2009/04/24 08:36:34stoecker Exp $5 Version: $Id: clock_orbit_rtcm.c,v 1.5 2009/04/30 08:41:49 stoecker Exp $ 6 6 Authors: Dirk Stöcker 7 7 Description: state space approach for RTCM3 … … 128 128 int gpshr=0, gpsur=0, gpsor=0, gpscl=0, gpsco=0, glohr=0, glour=0, gloor=0, 129 129 glocl=0, gloco=0, mmi, i; 130 130 131 STARTDATA 131 132 … … 397 398 } 398 399 400 399 401 return ressize; 400 402 } … … 404 406 { 405 407 int gps, glo, mmi, i, j; 408 406 409 STARTDATA 407 410 … … 575 578 const char *buffer, size_t size, int *bytesused) 576 579 { 577 int type, mmi=0, i, j, h, rs, sizeofrtcmblock; 580 int type, mmi=0, i, j, h, rs; 581 size_t sizeofrtcmblock; 578 582 const char *blockstart = buffer; 579 583 DECODESTART … … 591 595 return GCOBR_MESSAGEEXCEEDSBUFFER; 592 596 if(CRC24(sizeofrtcmblock+3, (const unsigned char *) blockstart) != 593 ( (((unsigned char)buffer[sizeofrtcmblock])<<16)|597 (uint32_t)((((unsigned char)buffer[sizeofrtcmblock])<<16)| 594 598 (((unsigned char)buffer[sizeofrtcmblock+1])<<8)| 595 599 (((unsigned char)buffer[sizeofrtcmblock+2]))))
Note:
See TracChangeset
for help on using the changeset viewer.