Changeset 9001 in ntrip for branches/BNC_2.12/src/RTCM3
- Timestamp:
- Jul 23, 2020, 11:28:20 PM (4 years ago)
- Location:
- branches/BNC_2.12/src/RTCM3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
r8987 r9001 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}, … … 1623 1623 * extracted data block. That does no harm, as it anyway skip everything 1624 1624 * else. */ 1625 if ((id >= 1057 && id <= 1068) || 1625 if ((id >= 1057 && id <= 1068) || 1626 1626 (id >= 1240 && id <= 1270) || 1627 1627 (id == 4076)) { … … 1634 1634 } 1635 1635 } 1636 else if ((id >= 1070 && id <= 1229) || 1637 (id >= 21 && id <= 27)) /* MSM */ { 1636 else if (id >= 1070 && id <= 1229) { /* MSM */ 1638 1637 if (DecodeRTCM3MSM(_Message, _BlockSize)) 1639 1638 decoded = true; … … 1679 1678 decoded = true; 1680 1679 break; 1681 case 29:1680 case 1141: 1682 1681 if (DecodeIRNSSEphemeris(_Message, _BlockSize)) 1683 1682 decoded = true; … … 1688 1687 decoded = true; 1689 1688 break; 1690 case RTCM3ID_BDS:1689 case 1042: 1691 1690 if (DecodeBDSEphemeris(_Message, _BlockSize)) 1692 1691 decoded = true; -
branches/BNC_2.12/src/RTCM3/ephEncoder.cpp
r8854 r9001 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()) -
branches/BNC_2.12/src/RTCM3/gnss.h
r8806 r9001 26 26 #define GNSS_H 27 27 28 #define LIGHTSPEED 2.99792458e8 /* m/sec */29 #define GPS_FREQU_L1 1575420000.0 /* Hz */30 #define GPS_FREQU_L2 1227600000.0 /* Hz */31 #define GPS_FREQU_L5 1176450000.0 /* Hz */32 #define GPS_WAVELENGTH_L1 (LIGHTSPEED / GPS_FREQU_L1) /* m */33 #define GPS_WAVELENGTH_L2 (LIGHTSPEED / GPS_FREQU_L2) /* m */34 #define GPS_WAVELENGTH_L5 (LIGHTSPEED / GPS_FREQU_L5) /* m */28 #define LIGHTSPEED 2.99792458e8 /* m/sec */ 29 #define GPS_FREQU_L1 1575420000.0 /* Hz */ 30 #define GPS_FREQU_L2 1227600000.0 /* Hz */ 31 #define GPS_FREQU_L5 1176450000.0 /* Hz */ 32 #define GPS_WAVELENGTH_L1 (LIGHTSPEED / GPS_FREQU_L1) /* m */ 33 #define GPS_WAVELENGTH_L2 (LIGHTSPEED / GPS_FREQU_L2) /* m */ 34 #define GPS_WAVELENGTH_L5 (LIGHTSPEED / GPS_FREQU_L5) /* m */ 35 35 36 36 #define GLO_FREQU_L1_BASE 1602000000.0 /* Hz */ … … 49 49 #define GLO_WAVELENGTH_L3 (LIGHTSPEED / GLO_FREQU_L3) /* m */ 50 50 51 #define GAL_FREQU_E1 1575420000.0 /* Hz */52 #define GAL_FREQU_E5A 1176450000.0 /* Hz */53 #define GAL_FREQU_E5AB 1191795000.0 /* Hz */54 #define GAL_FREQU_E5B 1207140000.0 /* Hz */55 #define GAL_FREQU_E6 1278750000.0 /* Hz */51 #define GAL_FREQU_E1 1575420000.0 /* Hz */ 52 #define GAL_FREQU_E5A 1176450000.0 /* Hz */ 53 #define GAL_FREQU_E5AB 1191795000.0 /* Hz */ 54 #define GAL_FREQU_E5B 1207140000.0 /* Hz */ 55 #define GAL_FREQU_E6 1278750000.0 /* Hz */ 56 56 #define GAL_WAVELENGTH_E1 (LIGHTSPEED / GAL_FREQU_E1) /* m */ 57 57 #define GAL_WAVELENGTH_E5A (LIGHTSPEED / GAL_FREQU_E5A) /* m */ … … 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.