Changeset 5355 in ntrip for trunk/BNC/src/RTCM
- Timestamp:
- Aug 26, 2013, 10:07:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/GPSDecoder.cpp
r4774 r5355 47 47 extern "C" { 48 48 #include "rtcm3torinex.h" 49 #include "rtcm3torinexsupport.h"50 49 } 51 50 … … 127 126 } 128 127 129 return rrinex3codetoentry(rnxStr.toAscii().data()); 128 for (int ie = 0; ie < GNSSENTRY_NUMBER; ie++) { 129 if (rnxStr.mid(1) == QString(_codetype[ie])) { 130 if (rnxStr[0] == 'C') { 131 return ie + GNSSENTRY_CODE; 132 } 133 else if (rnxStr[0] == 'L') { 134 return ie + GNSSENTRY_PHASE; 135 } 136 else if (rnxStr[0] == 'D') { 137 return ie + GNSSENTRY_DOPPLER; 138 } 139 else if (rnxStr[0] == 'S') { 140 return ie + GNSSENTRY_SNR; 141 } 142 } 143 } 144 return -1; 145 //// return rrinex3codetoentry(rnxStr.toAscii().data()); 130 146 } 131 147
Note:
See TracChangeset
for help on using the changeset viewer.