Changeset 9000 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Jul 23, 2020, 11:26:50 PM (4 years ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r8986 r9000 411 411 {BDS_WAVELENGTH_B2a, "5P"}, 412 412 {BDS_WAVELENGTH_B2a, "5X"}, 413 { 0.0, 0},413 {BDS_WAVELENGTH_B2b, "7D"}, 414 414 {0.0, 0}, 415 415 {0.0, 0}, … … 1631 1631 * else. */ 1632 1632 if ((id >= 1057 && id <= 1068) || 1633 1634 1633 (id >= 1240 && id <= 1270) || 1634 (id == 4076)) { 1635 1635 if (!_coDecoders.contains(_staID.toLatin1())) 1636 1636 _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID); … … 1641 1641 } 1642 1642 } 1643 else if ((id >= 1070 && id <= 1229) || 1644 (id >= 21 && id <= 27)) /* MSM */ { 1643 else if (id >= 1070 && id <= 1229) { /* MSM */ 1645 1644 if (DecodeRTCM3MSM(_Message, _BlockSize)) 1646 1645 decoded = true; … … 1686 1685 decoded = true; 1687 1686 break; 1688 case 29:1687 case 1141: 1689 1688 if (DecodeIRNSSEphemeris(_Message, _BlockSize)) 1690 1689 decoded = true; … … 1695 1694 decoded = true; 1696 1695 break; 1697 case RTCM3ID_BDS:1696 case 1042: 1698 1697 if (DecodeBDSEphemeris(_Message, _BlockSize)) 1699 1698 decoded = true; -
trunk/BNC/src/RTCM3/ephEncoder.cpp
r8853 r9000 51 51 GPSADDBITS(3, 0) /* padding */ 52 52 } else if (eph.type() == t_eph::IRNSS) { 53 GPSADDBITS(12, 29)53 GPSADDBITS(12, 1141) 54 54 GPSADDBITS(6, eph._prn.number()) 55 55 GPSADDBITS(10, eph._TOC.gpsw()) … … 316 316 317 317 int URA = indexFromAccuracy(eph._URA, eph.type()); 318 BDSADDBITS(12, RTCM3ID_BDS)318 BDSADDBITS(12, 1042) 319 319 BDSADDBITS(6, eph._prn.number()) 320 320 BDSADDBITS(13, eph._TOC.bdsw()) -
trunk/BNC/src/RTCM3/gnss.h
r8801 r9000 74 74 #define BDS_FREQU_B1C 1575420000.0 /* Hz */ 75 75 #define BDS_FREQU_B2a 1176450000.0 /* Hz */ 76 #define BDS_FREQU_B2b 1207140000.0 /* Hz */ 76 77 #define BDS_WAVELENGTH_B1 (LIGHTSPEED / BDS_FREQU_B1) /* m */ 77 78 #define BDS_WAVELENGTH_B2 (LIGHTSPEED / BDS_FREQU_B2) /* m */ … … 79 80 #define BDS_WAVELENGTH_B1C (LIGHTSPEED / BDS_FREQU_B1C) /* m */ 80 81 #define BDS_WAVELENGTH_B2a (LIGHTSPEED / BDS_FREQU_B2a) /* m */ 82 #define BDS_WAVELENGTH_B2b (LIGHTSPEED / BDS_FREQU_B2b) /* m */ 81 83 82 84 #define IRNSS_FREQU_L5 1176450000.0 /* Hz */ … … 87 89 #define R2R_PI 3.1415926535898 88 90 89 #define RTCM3ID_BDS 104290 91 91 #endif /* GNSS_H */
Note:
See TracChangeset
for help on using the changeset viewer.