Changeset 4374 in ntrip
- Timestamp:
- Jul 4, 2012, 11:45:16 AM (12 years ago)
- Location:
- trunk/rtcm3torinex/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r4372 r4374 1445 1445 gnss->satellites[gnss->numsats++] = fullsat; 1446 1446 1447 gnss->codetype[num] = cd.code; 1447 gnss->codetype[num][cd.typeR] = 1448 gnss->codetype[num][cd.typeP] = 1449 gnss->codetype[num][cd.typeD] = 1450 gnss->codetype[num][cd.typeS] = cd.code; 1448 1451 if(!handle->info[sys].type[cd.typeR]) 1449 1452 { … … 1949 1952 buffer += i; buffersize -= i; 1950 1953 1954 tbufferpos = 0; 1955 1951 1956 CHECKFLAGSNEW(GPS, C1, C1C) 1952 1957 CHECKFLAGSNEW(GPS, L1C, L1C) … … 2555 2560 if((Parser->Data.dataflags[i] & df) 2556 2561 && !isnan(Parser->Data.measdata[i][pos]) 2557 && !isinf(Parser->Data.measdata[i][pos])) 2562 && !isinf(Parser->Data.measdata[i][pos]) 2563 && (Parser->Data.codetype[i][pos] 2564 && Parser->info[RTCM3_MSM_GLONASS].type[pos] 2565 && Parser->info[RTCM3_MSM_GLONASS].type[pos] 2566 == Parser->Data.codetype[i][pos][1])) 2558 2567 { 2559 2568 char lli = ' '; … … 2588 2597 if((Parser->Data.dataflags[i] & df) 2589 2598 && !isnan(Parser->Data.measdata[i][pos]) 2590 && !isinf(Parser->Data.measdata[i][pos])) 2599 && !isinf(Parser->Data.measdata[i][pos]) 2600 && (Parser->Data.codetype[i][pos] 2601 && Parser->info[RTCM3_MSM_GALILEO].type[pos] 2602 && Parser->info[RTCM3_MSM_GALILEO].type[pos] 2603 == Parser->Data.codetype[i][pos][1])) 2591 2604 { 2592 2605 char lli = ' '; … … 2639 2652 if((Parser->Data.dataflags[i] & df) 2640 2653 && !isnan(Parser->Data.measdata[i][pos]) 2641 && !isinf(Parser->Data.measdata[i][pos])) 2654 && !isinf(Parser->Data.measdata[i][pos]) 2655 && (Parser->Data.codetype[i][pos] 2656 && Parser->info[RTCM3_MSM_COMPASS].type[pos] 2657 && Parser->info[RTCM3_MSM_COMPASS].type[pos] 2658 == Parser->Data.codetype[i][pos][1])) 2642 2659 { 2643 2660 char lli = ' '; … … 2676 2693 && !isnan(Parser->Data.measdata[i][pos]) 2677 2694 && !isinf(Parser->Data.measdata[i][pos]) 2678 && (Parser->Data.codetype[i] 2695 && (Parser->Data.codetype[i][pos] 2679 2696 && Parser->info[RTCM3_MSM_QZSS].type[pos] 2680 2697 && Parser->info[RTCM3_MSM_QZSS].type[pos] 2681 == Parser->Data.codetype[i][ 1]))2698 == Parser->Data.codetype[i][pos][1])) 2682 2699 { 2683 2700 char lli = ' '; … … 2718 2735 if((Parser->Data.dataflags[i] & df) 2719 2736 && !isnan(Parser->Data.measdata[i][pos]) 2720 && !isinf(Parser->Data.measdata[i][pos])) 2737 && !isinf(Parser->Data.measdata[i][pos]) 2738 && (Parser->Data.codetype[i][pos] 2739 && Parser->info[RTCM3_MSM_SBAS].type[pos] 2740 && Parser->info[RTCM3_MSM_SBAS].type[pos] 2741 == Parser->Data.codetype[i][pos][1])) 2721 2742 { 2722 2743 char lli = ' '; … … 2749 2770 int df = Parser->info[RTCM3_MSM_GPS].flags[j]; 2750 2771 int pos = Parser->info[RTCM3_MSM_GPS].pos[j]; 2751 if((Parser->Data.dataflags[ i] & df)2772 if((Parser->Data.dataflags[pos] & df) 2752 2773 && !isnan(Parser->Data.measdata[i][pos]) 2753 && !isinf(Parser->Data.measdata[i][pos])) 2774 && !isinf(Parser->Data.measdata[i][pos]) 2775 && (Parser->Data.codetype[i][pos] 2776 && Parser->info[RTCM3_MSM_GPS].type[pos] 2777 && Parser->info[RTCM3_MSM_GPS].type[pos] 2778 == Parser->Data.codetype[i][pos][1])) 2754 2779 { 2755 2780 char lli = ' '; -
trunk/rtcm3torinex/lib/rtcm3torinex.h
r4371 r4374 308 308 int snrL1[GNSS_MAXSATS]; /* Important: all the 6 SV-specific fields must */ 309 309 int snrL2[GNSS_MAXSATS]; /* have the same SV-order */ 310 const char * codetype[GNSS_MAXSATS] ;310 const char * codetype[GNSS_MAXSATS][GNSSENTRY_NUMBER]; 311 311 }; 312 312
Note:
See TracChangeset
for help on using the changeset viewer.