Changeset 1744 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Mar 7, 2009, 1:59:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1725 r1744 306 306 // Instantiate the decoder 307 307 // ----------------------- 308 if (_format.indexOf("RTCM_2") != -1) { 308 if (_format.indexOf("RTCM_2") != -1 || _format.indexOf("RTCM2") != -1 || 309 _format.indexOf("RTCM 2") != -1 ) { 309 310 emit(newMessage(_staID + ": Get data in RTCM 2.x format", true)); 310 311 _decoder = new RTCM2Decoder(_staID.data()); 311 312 } 312 else if (_format.indexOf("RTCM_3") != -1) { 313 else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1 || 314 _format.indexOf("RTCM 3") != -1 ) { 313 315 emit(newMessage(_staID + ": Get data in RTCM 3.x format", true)); 314 316 _decoder = new RTCM3Decoder(_staID); … … 534 536 _query = new bncNetQueryRtp(); 535 537 } 538 else if (_ntripVersion == "S") { 539 _query = new bncNetQueryV0(); 540 } 536 541 else if (_ntripVersion == "N") { 537 542 _query = new bncNetQueryV0();
Note:
See TracChangeset
for help on using the changeset viewer.