Changeset 367 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Jan 18, 2007, 11:14:34 AM (17 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3Decoder.cpp

    r366 r367  
    9090        if (rr == 2) {
    9191          std::cerr << "No valid RINEX! All values are modulo 299792.458!\n";
    92 //        exit(1);
     92          exit(1);
    9393        }
    9494
     
    148148              obs->SNR2 = _Parser.Data.snrL2[ii];
    149149            }
     150            else if (df & (GNSSDF_S1CDATA|GNSSDF_S1PDATA)) {
     151              obs->S1   = _Parser.Data.measdata[ii][pos];
     152            }
     153            else if (df & (GNSSDF_S2CDATA|GNSSDF_S2PDATA)) {
     154              obs->S2   = _Parser.Data.measdata[ii][pos];
     155            }
    150156          }
    151157          }
  • trunk/BNC/RTCM3/rtcm3torinex.cpp

    r366 r367  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.16 2007/01/11 15:32:26 stoecker Exp $
     3  $Id: rtcm3torinex.cpp,v 1.13 2007/01/17 15:17:20 mervart Exp $
    44  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.16 $";
     53static char revisionstr[] = "$Revision: 1.13 $";
    5454
    5555static uint32_t CRC24(long size, const unsigned char *buf)
     
    249249    switch(type)
    250250    {
    251     case 1001: case 1002: case 1003: case 1004:
     251    // Modification of RTCM3TORINEX for BNC: ignore 1001 and 1003
     252    //case 1001: case 1002: case 1003: case 1004:
     253    case 1002:  case 1004:
    252254      if(handle->GPSWeek)
    253255      {
     
    408410      }
    409411      break;
    410     case 1009: case 1010: case 1011: case 1012:
     412    // Modification of RTCM3TORINEX for BNC: ignore 1009 and 1010
     413    //case 1009: case 1010: case 1011: case 1012:
     414    case 1010: case 1012:
    411415      {
    412416        int lastlockl1[64];
     
    656660#define NUMSTARTSKIP 1
    657661
    658 ////////////////////////////////////////////////////////////////////
    659 // Aenderung Perlt - kein check auf vorhandene Daten
    660 // Abgefragt werden : C1 C2 L1 L2 P1 P2 S1 S2
     662// Modification of RTCM3TORINEX for BNC
    661663
    662664void HandleHeader(struct RTCM3ParserData *Parser)
     
    722724Parser->datapos2[data[RINEXENTRY_D2DATA]-1] = GNSSENTRY_D2PDATA;
    723725}
    724 // Ende Aenderung Perlt - kein check auf vorhandene Daten
     726// End of RTCM3TORINEX modification for BNC
    725727
    726728
     
    852854
    853855#ifndef NO_RTCM3_MAIN
    854 static char datestr[]     = "$Date: 2007/01/11 15:32:26 $";
     856static char datestr[]     = "$Date: 2007/01/17 15:17:20 $";
    855857
    856858/* The string, which is send as agent in HTTP request */
Note: See TracChangeset for help on using the changeset viewer.