Changeset 60 in ntrip


Ignore:
Timestamp:
Aug 24, 2006, 2:28:14 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r59 r60  
    135135  // ----------------------
    136136  GPSDecoder* rtcmFilter;
    137   rtcmFilter = new RTCM('A',true);
    138137
    139   qWarning("Get Data: " + _mountPoint + " " + _format);
     138  if      (_format.indexOf("RTCM_2") != -1) {
     139    qWarning("Get Data: " + _mountPoint + " in RTCM 2.x format");
     140    rtcmFilter = new RTCM('A',true);
     141  }
     142  else if (_format.indexOf("RTCM_3") != -1) {
     143    qWarning("Get Data: " + _mountPoint + " in RTCM 3.0 format");
     144    qWarning("Not yet implemented");
     145    return exit(1);
     146  }
     147  else if (_format.indexOf("RTIGS") != -1) {
     148    qWarning("Get Data: " + _mountPoint + " in RTIGS format");
     149    qWarning("Not yet implemented");
     150    return exit(1);
     151  }
     152  else {
     153    qWarning("Unknown data format");
     154    return exit(1);
     155  }
    140156
    141157  // Read Incoming Data
Note: See TracChangeset for help on using the changeset viewer.