Changeset 11191 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Nov 10, 2026, 12:11:31 PM (3 days ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
-
RTCM3Decoder.cpp (modified) (12 diffs)
-
crs.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r11185 r11191 139 139 CurrentObs._time = CurrentObsTime; 140 140 CurrentObs._type = type; 141 CurrentObs._size = int(_currMsg._size); 141 142 142 143 GETBITS(sv, 6) … … 734 735 CurrentObs._time = CurrentObsTime; 735 736 CurrentObs._type = type; 737 CurrentObs._size = int(_currMsg._size); 736 738 if (sys == 'S') 737 739 CurrentObs._prn.set(sys, 20 - 1 + RTCM3_MSM_NUMSAT - i); … … 965 967 CurrentObs._time = CurrentObsTime; 966 968 CurrentObs._type = type; 969 CurrentObs._size = int(_currMsg._size); 967 970 968 971 GETBITS(sv, 6) … … 1348 1351 GLOFreq[sv - 1] = 100 + eph._frq_num ; /* store frequency for other users (MSM) */ 1349 1352 _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frq_num, 2, 'f', 0); 1353 _gloFrqSource = _currMsg; 1350 1354 1351 1355 if (eph.validMdata()) { … … 2021 2025 memcpy(_antType.back()._descriptor, antenna, antnum); 2022 2026 _antType.back()._descriptor[antnum] = 0; 2027 _antType.back()._source = _currMsg; 2023 2028 } 2024 2029 SKIPBITS(8) /* antenna setup ID */ … … 2041 2046 memcpy(_recType.back()._descriptor, receiver, recnum); 2042 2047 _recType.back()._descriptor[recnum] = 0; 2048 _recType.back()._source = _currMsg; 2043 2049 if (recfirnum > -1 && recfirnum < 265) { 2044 2050 memcpy(_recType.back()._firmware, rec_firmware, recfirnum); … … 2067 2073 _antList.push_back(t_antRefPoint()); 2068 2074 _antList.back()._type = t_antRefPoint::ARP; 2075 _antList.back()._source = _currMsg; 2069 2076 SKIPBITS(22) 2070 2077 GETBITSSIGN(x, 38) … … 2127 2134 if (_gloBiasInfo != gloBiasInfo) { 2128 2135 _gloBiasInfo.set(gloBiasInfo); 2136 _gloBiasSource = _currMsg; 2129 2137 } 2130 2138 return true; … … 2153 2161 if (_serviceCrs.empty() || 2154 2162 (strncmp(_serviceCrs.back()._name, serviceCrs._name, servicecrsnum) != 0)) { 2163 serviceCrs._msgType = _currMsg._type; 2164 serviceCrs._msgSize = int(_currMsg._size); 2155 2165 _serviceCrs.push_back(serviceCrs); 2156 2166 GETFLOAT(_serviceCrs.back()._CE, 16, 1/100.0) … … 2184 2194 if (_rtcmCrs.empty() || 2185 2195 (strncmp(_rtcmCrs.back()._name, rtcmCrs._name, rtcmcrsnum) != 0)) { 2196 rtcmCrs._msgType = _currMsg._type; 2197 rtcmCrs._msgSize = int(_currMsg._size); 2186 2198 _rtcmCrs.push_back(rtcmCrs); 2187 2199 … … 2248 2260 } 2249 2261 } 2262 helmertPar._msgType = _currMsg._type; 2263 helmertPar._msgSize = int(_currMsg._size); 2250 2264 _helmertPar.push_back(helmertPar); 2251 2265 … … 2300 2314 _typeList.back()._type = id; 2301 2315 _typeList.back()._size = _BlockSize -6; /* header + crc */ 2316 _currMsg = _typeList.back(); 2302 2317 2303 2318 /* SSR I+II data handled in another function, already pass the -
trunk/BNC/src/RTCM3/crs.h
r11124 r11191 19 19 _coordinateEpoch = 0; 20 20 _CE = 0; 21 _msgType = 0; 22 _msgSize = 0; 21 23 } 22 24 ~t_serviceCrs() { … … 41 43 double _coordinateEpoch; 42 44 double _CE; 45 int _msgType; // RTCM message of the information (RTCM scan) 46 int _msgSize; 43 47 }; 44 48 … … 49 53 _anchor = 0; 50 54 _plateNumber = 0; 55 _msgType = 0; 56 _msgSize = 0; 51 57 } 52 58 … … 75 81 int _plateNumber; // 0.. unknown, 7.. Eurasia 76 82 QStringList _databaseLinks; 83 int _msgType; // RTCM message of the information (RTCM scan) 84 int _msgSize; 77 85 }; 78 86 … … 97 105 _sc = 0.0; 98 106 _scr = 0.0; 107 _msgType = 0; 108 _msgSize = 0; 99 109 } 100 110 … … 190 200 double _sc; // scale 191 201 double _scr; // scale rate 202 int _msgType; // RTCM message of the information (RTCM scan) 203 int _msgSize; 192 204 }; 193 205
Note:
See TracChangeset
for help on using the changeset viewer.
