Modify

Opened 12 days ago

Closed 11 days ago

#184 closed defect (fixed)

Small Typo in DecodeRTCM3MSM Method

Reported by: developer.t2r@… 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.

Attachments (0)

Change History (1)

comment:1 by stuerze, 11 days ago

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Action
as closed The owner will remain stuerze.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.