Opened 3 months ago
Closed 3 months ago
#184 closed defect (fixed)
Small Typo in DecodeRTCM3MSM Method
Reported by: | Owned by: | stuerze | |
---|---|---|---|
Priority: | normal | Component: | BNC |
Version: | ntripcaster 2.0.13 | Keywords: | bug, sbas, rtcmDecoder |
Cc: |
Description
Hello,
I recently discovered a small issue with the DecodeRTCM3MSM method in the RTCM3Decoder class. Within this method, there is a segment of code responsible for determining the constellation type from RTCM3 messages. However, a small error/typo is causing the character 'S' to never be assigned to the "sys" variable.
Problematic Code Segment (line 483 of RTCM3Decoder.cpp):
else if (type >= 1101 && type <= 1007) {
sys = 'S';
}
The issue lies in the second part of the condition, where it checks (type <= 1007) instead of (type <= 1107), which corresponds to the SBAS MSM7 message.
Hello,
Thank you very much for this hint!
An improved version will be uploaded amoung with other changes very soon to the svn
Best regrads, Andrea