Changeset 10619 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Mar 11, 2025, 4:26:59 PM (8 days ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r10599 r10619 425 425 }; 426 426 427 /** MSM signal types for IRNSS*/427 /** MSM signal types for NavIC */ 428 428 static struct CodeData irn[RTCM3_MSM_NUMSIG] = { 429 429 {0.0, 0}, … … 434 434 {0.0, 0}, 435 435 {0.0, 0}, 436 { IRNSS_WAVELENGTH_S, "9A"},437 {0.0, 0}, 438 {0.0, 0}, 439 {0.0, 0}, 440 {0.0, 0}, 441 {0.0, 0}, 442 {0.0, 0}, 443 {0.0, 0}, 444 {0.0, 0}, 445 {0.0, 0}, 446 {0.0, 0}, 447 {0.0, 0}, 448 {0.0, 0}, 449 {0.0, 0}, 450 { IRNSS_WAVELENGTH_L5, "5A"},436 {NavIC_WAVELENGTH_S, "9A"}, 437 {0.0, 0}, 438 {0.0, 0}, 439 {0.0, 0}, 440 {0.0, 0}, 441 {0.0, 0}, 442 {0.0, 0}, 443 {0.0, 0}, 444 {0.0, 0}, 445 {0.0, 0}, 446 {0.0, 0}, 447 {0.0, 0}, 448 {0.0, 0}, 449 {0.0, 0}, 450 {NavIC_WAVELENGTH_L5, "5A"}, 451 451 {0.0, 0}, 452 452 {0.0, 0}, … … 1467 1467 // 1468 1468 //////////////////////////////////////////////////////////////////////////// 1469 bool RTCM3Decoder::Decode IRNSSEphemeris(unsigned char* data, int size) {1469 bool RTCM3Decoder::DecodeNavICEphemeris(unsigned char* data, int size) { 1470 1470 bool decoded = false; 1471 1471 … … 2267 2267 break; 2268 2268 case 1041: 2269 if (Decode IRNSSEphemeris(_Message, _BlockSize))2269 if (DecodeNavICEphemeris(_Message, _BlockSize)) 2270 2270 decoded = true; 2271 2271 break; -
trunk/BNC/src/RTCM3/RTCM3Decoder.h
r10544 r10619 138 138 * @return <code>true</code> when data block was decodable 139 139 */ 140 bool Decode IRNSSEphemeris(unsigned char* buffer, int bufLen);140 bool DecodeNavICEphemeris(unsigned char* buffer, int bufLen); 141 141 /** 142 142 * Extract ephemeris data from 1045 and 1046 RTCM3 messages. -
trunk/BNC/src/RTCM3/ephEncoder.cpp
r10587 r10619 52 52 GPSADDBITS(1, fitIntervalFlag) 53 53 GPSADDBITS(3, 0) /* padding */ 54 } else if (eph.system() == t_eph:: IRNSS) {54 } else if (eph.system() == t_eph::NavIC) { 55 55 GPSADDBITS(12, 1041) 56 56 GPSADDBITS(6, eph._prn.number()) -
trunk/BNC/src/RTCM3/gnss.h
r10127 r10619 82 82 #define BDS_WAVELENGTH_B2b (LIGHTSPEED / BDS_FREQU_B2b) /* m */ 83 83 84 #define IRNSS_FREQU_L1 1575420000.0 /* Hz */85 #define IRNSS_FREQU_L5 1176450000.0 /* Hz */86 #define IRNSS_FREQU_S 2492028000.0 /* Hz */87 #define IRNSS_WAVELENGTH_L1 (LIGHTSPEED /IRNSS_FREQU_L1) /* m */88 #define IRNSS_WAVELENGTH_L5 (LIGHTSPEED /IRNSS_FREQU_L5) /* m */89 #define IRNSS_WAVELENGTH_S (LIGHTSPEED /IRNSS_FREQU_S) /* m */84 #define NavIC_FREQU_L1 1575420000.0 /* Hz */ 85 #define NavIC_FREQU_L5 1176450000.0 /* Hz */ 86 #define NavIC_FREQU_S 2492028000.0 /* Hz */ 87 #define NavIC_WAVELENGTH_L1 (LIGHTSPEED / NavIC_FREQU_L1) /* m */ 88 #define NavIC_WAVELENGTH_L5 (LIGHTSPEED / NavIC_FREQU_L5) /* m */ 89 #define NavIC_WAVELENGTH_S (LIGHTSPEED / NavIC_FREQU_S) /* m */ 90 90 91 91 #define R2R_PI 3.1415926535898
Note:
See TracChangeset
for help on using the changeset viewer.