Changeset 2004 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Nov 21, 2009, 4:17:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r2000 r2004 284 284 // _rawOutFile->open(QIODevice::WriteOnly); 285 285 286 // Initialize PPP Clinet? 287 // ---------------------- 288 bool pppClient = false; 289 if (settings.value("pppMount").toString() == _staID) { 290 pppClient = true; 291 } 286 292 287 293 // Instantiate the decoder … … 291 297 emit(newMessage(_staID + ": Get data in RTCM 2.x format", true)); 292 298 _decoder = new RTCM2Decoder(_staID.data()); 293 _PPPthread = new bncPPPthread(_staID); 299 if (pppClient) { 300 _PPPthread = new bncPPPthread(_staID); 301 } 294 302 } 295 303 else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1 || … … 299 307 connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray,bool)), 300 308 this, SIGNAL(newMessage(QByteArray,bool))); 301 _PPPthread = new bncPPPthread(_staID); 309 if (pppClient) { 310 _PPPthread = new bncPPPthread(_staID); 311 } 302 312 } 303 313 else if (_format.indexOf("RTIGS") != -1) { 304 314 emit(newMessage(_staID + ": Get data in RTIGS format", true)); 305 315 _decoder = new RTIGSDecoder(); 306 _PPPthread = new bncPPPthread(_staID); 316 if (pppClient) { 317 _PPPthread = new bncPPPthread(_staID); 318 } 307 319 } 308 320 else if (_format.indexOf("GPSS") != -1 || _format.indexOf("BNC") != -1) {
Note:
See TracChangeset
for help on using the changeset viewer.