Changeset 9048 in ntrip for trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Aug 27, 2020, 3:21:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r9046 r9048 1631 1631 * else. */ 1632 1632 if ((id >= 1057 && id <= 1068) || 1633 (id >= 1240 && id <= 1270) || 1634 (id == 4076)) { 1635 RTCM3coDecoder::e_type type = RTCM3coDecoder::RTCMssr; 1633 (id >= 1240 && id <= 1270) || 1634 (id == 4076)) { 1635 if (!_coDecoders.contains(_staID.toLatin1())) { 1636 _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID); 1637 } 1638 RTCM3coDecoder* coDecoder = _coDecoders[_staID.toLatin1()]; 1636 1639 if (id == 4076) { 1637 type = RTCM3coDecoder::IGSssr;1640 coDecoder->setSsrFormatType(RTCM3coDecoder::IGSssr); 1638 1641 } 1639 if (!_coDecoders.contains(_staID.toLatin1()))1640 _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID, type);1641 RTCM3coDecoder* coDecoder = _coDecoders[_staID.toLatin1()];1642 else { 1643 coDecoder->setSsrFormatType(RTCM3coDecoder::RTCMssr); 1644 } 1642 1645 if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize, 1643 1646 errmsg) == success) {
Note:
See TracChangeset
for help on using the changeset viewer.