Changeset 4430 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Jul 24, 2012, 5:01:19 PM (8 years ago)
Author:
stoecker
Message:

add codetypes to normal RTCM3

File:
1 edited

Legend:

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

    r4417 r4430  
    611611            l = GNSSDF_L1PDATA; le = GNSSENTRY_L1PDATA;
    612612            s = GNSSDF_S1PDATA; se = GNSSENTRY_S1PDATA;
     613            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1 ";
    613614          }
    614615          else
     
    617618            l = GNSSDF_L1CDATA; le = GNSSENTRY_L1CDATA;
    618619            s = GNSSDF_S1CDATA; se = GNSSENTRY_S1CDATA;
     620            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1C";
    619621          }
    620622          GETBITS(l1range, 24);
     
    661663              s = GNSSDF_S2PDATA; se = GNSSENTRY_S2PDATA;
    662664              if(code >= 2)
     665              {
     666                gnss->codetype[num][ce] = gnss->codetype[num][le] = "2W";
    663667                gnss->dataflags2[num] |= GNSSDF2_XCORRL2;
     668              }
     669              else
     670              {
     671                gnss->codetype[num][ce] = gnss->codetype[num][le] = "2P";
     672              }
    664673            }
    665674            else
     
    668677              l = GNSSDF_L2CDATA; le = GNSSENTRY_L2CDATA;
    669678              s = GNSSDF_S2CDATA; se = GNSSENTRY_S2CDATA;
     679              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2 ";
    670680            }
    671681            GETBITSSIGN(i,14);
     
    787797            l = GNSSDF_L1PDATA; le = GNSSENTRY_L1PDATA;
    788798            s = GNSSDF_S1PDATA; se = GNSSENTRY_S1PDATA;
     799            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1P";
    789800          }
    790801          else
     
    793804            l = GNSSDF_L1CDATA; le = GNSSENTRY_L1CDATA;
    794805            s = GNSSDF_S1CDATA; se = GNSSENTRY_S1CDATA;
     806            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1C";
    795807          }
    796808          GETBITS(l1range, 25)
     
    839851              l = GNSSDF_L2PDATA; le = GNSSENTRY_L2PDATA;
    840852              s = GNSSDF_S2PDATA; se = GNSSENTRY_S2PDATA;
     853              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2P";
    841854            }
    842855            else
     
    845858              l = GNSSDF_L2CDATA; le = GNSSENTRY_L2CDATA;
    846859              s = GNSSDF_S2CDATA; se = GNSSENTRY_S2CDATA;
     860              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2C";
    847861            }
    848862            GETBITSSIGN(i,14)
Note: See TracChangeset for help on using the changeset viewer.