Changeset 2432 in ntrip for trunk/clock_and_orbit
- Timestamp:
- Apr 16, 2010, 8:14:00 AM (15 years ago)
- Location:
- trunk/clock_and_orbit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/clock_and_orbit/clock_orbit_rtcm.c
r2421 r2432 3 3 Name: clock_orbit_rtcm.c 4 4 Project: RTCM3 5 Version: $Id: clock_orbit_rtcm.c,v 1. 9 2010/02/22 13:42:26stoecker Exp $5 Version: $Id: clock_orbit_rtcm.c,v 1.10 2010/04/14 11:09:18 stoecker Exp $ 6 6 Authors: Dirk Stöcker 7 7 Description: state space approach for RTCM3 … … 94 94 /* standard values */ 95 95 #define T_MESSAGE_NUMBER(a) ADDBITS(12, a) /* DF002 */ 96 #define T_RESERVED4 ADDBITS( 1, 0) /* DF001 */96 #define T_RESERVED4 ADDBITS(4, 0) /* DF001 */ 97 97 #define T_RESERVED5 ADDBITS(5, 0) /* DF001 */ 98 98 #define T_GPS_SATELLITE_ID(a) ADDBITS(6, a) /* DF068 */ … … 242 242 if(gpsco) 243 243 { 244 int nums, left, start = 0; 245 nums = co->NumberOfGPSSat; 244 #ifdef SPLITBLOCK 245 int nums = co->NumberOfGPSSat; 246 int left, start = 0; 246 247 if(nums > 28) /* split block when more than 28 sats */ 247 248 { … … 255 256 while(nums) 256 257 { 258 #endif 257 259 INITBLOCK 258 260 T_MESSAGE_NUMBER(COTYPE_GPSCOMBINED) 259 261 T_GPS_EPOCH_TIME(co->GPSEpochTime) 260 262 T_SSR_UPDATE_INTERVAL(co->UpdateInterval) 263 #ifdef SPLITBLOCK 261 264 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi || */ left ? 1 : 0) 265 #else 266 T_MULTIPLE_MESSAGE_INDICATOR(/*mmi || */ 0) 267 #endif 262 268 --mmi; 263 269 T_SATELLITE_REFERENCE_DATUM(co->SatRefDatum) 264 270 T_RESERVED4 271 #ifdef SPLITBLOCK 265 272 T_NO_OF_SATELLITES(nums) 266 273 for(i = start; i < start+nums; ++i) 274 #else 275 T_NO_OF_SATELLITES(co->NumberOfGPSSat) 276 for(i = 0; i < co->NumberOfGPSSat; ++i) 277 #endif 267 278 { 268 279 T_GPS_SATELLITE_ID(co->Sat[i].ID) … … 279 290 } 280 291 ENDBLOCK 292 #ifdef SPLITBLOCK 281 293 start += nums; 282 294 nums = left; 283 295 left = 0; 284 296 } 297 #endif 285 298 } 286 299 if(gpshr) -
trunk/clock_and_orbit/clock_orbit_rtcm.h
r2421 r2432 6 6 Name: clock_orbit_rtcm.h 7 7 Project: RTCM3 8 Version: $Id: clock_orbit_rtcm.h,v 1. 7 2010/02/22 13:42:26stoecker Exp $8 Version: $Id: clock_orbit_rtcm.h,v 1.8 2010/04/14 11:09:18 stoecker Exp $ 9 9 Authors: Dirk Stöcker 10 10 Description: state space approach for RTCM3 … … 35 35 CODETYPEGPS_L1_P = 1, 36 36 CODETYPEGPS_L1_Z = 2, 37 /* ... */ 37 CODETYPEGPS_SEMI_CODELESS = 6, 38 CODETYPEGPS_L2_CM = 7, 39 CODETYPEGPS_L2_CL = 8, 40 CODETYPEGPS_L2_CML = 9, 41 CODETYPEGPS_L2_P = 10, 42 CODETYPEGPS_L2_Z = 11, 43 CODETYPEGPS_L2_Y = 12, 44 CODETYPEGPS_L2_M = 13, 45 CODETYPEGPS_L2_I = 14, 46 CODETYPEGPS_L2_Q = 15, 47 CODETYPEGPS_L2_IQ = 16, 38 48 39 49 CODETYPEGLONASS_L1_CA = 0,
Note:
See TracChangeset
for help on using the changeset viewer.