Changeset 4796 in ntrip for trunk/rtcm3torinex


Ignore:
Timestamp:
Oct 31, 2012, 5:56:38 PM (8 years ago)
Author:
stoecker
Message:

add code type to SNR

File:
1 edited

Legend:

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

    r4535 r4796  
    611611            l = GNSSDF_L1PDATA; le = GNSSENTRY_L1PDATA;
    612612            s = GNSSDF_S1PDATA; se = GNSSENTRY_S1PDATA;
     613            gnss->codetype[num][se] =
    613614            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1 ";
    614615          }
     
    618619            l = GNSSDF_L1CDATA; le = GNSSENTRY_L1CDATA;
    619620            s = GNSSDF_S1CDATA; se = GNSSENTRY_S1CDATA;
     621            gnss->codetype[num][se] =
    620622            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1C";
    621623          }
     
    664666              if(code >= 2)
    665667              {
     668                gnss->codetype[num][se] =
    666669                gnss->codetype[num][ce] = gnss->codetype[num][le] = "2W";
    667670                gnss->dataflags2[num] |= GNSSDF2_XCORRL2;
     
    669672              else
    670673              {
     674                gnss->codetype[num][se] =
    671675                gnss->codetype[num][ce] = gnss->codetype[num][le] = "2P";
    672676              }
     
    677681              l = GNSSDF_L2CDATA; le = GNSSENTRY_L2CDATA;
    678682              s = GNSSDF_S2CDATA; se = GNSSENTRY_S2CDATA;
     683              gnss->codetype[num][se] =
    679684              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2 ";
    680685            }
     
    797802            l = GNSSDF_L1PDATA; le = GNSSENTRY_L1PDATA;
    798803            s = GNSSDF_S1PDATA; se = GNSSENTRY_S1PDATA;
     804            gnss->codetype[num][se] =
    799805            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1P";
    800806          }
     
    804810            l = GNSSDF_L1CDATA; le = GNSSENTRY_L1CDATA;
    805811            s = GNSSDF_S1CDATA; se = GNSSENTRY_S1CDATA;
     812            gnss->codetype[num][se] =
    806813            gnss->codetype[num][ce] = gnss->codetype[num][le] = "1C";
    807814          }
     
    851858              l = GNSSDF_L2PDATA; le = GNSSENTRY_L2PDATA;
    852859              s = GNSSDF_S2PDATA; se = GNSSENTRY_S2PDATA;
     860              gnss->codetype[num][se] =
    853861              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2P";
    854862            }
     
    858866              l = GNSSDF_L2CDATA; le = GNSSENTRY_L2CDATA;
    859867              s = GNSSDF_S2CDATA; se = GNSSENTRY_S2CDATA;
     868              gnss->codetype[num][se] =
    860869              gnss->codetype[num][ce] = gnss->codetype[num][le] = "2C";
    861870            }
Note: See TracChangeset for help on using the changeset viewer.