@@ -566,9 +566,13 @@ void createSettingsString(char* newSettings)
566566 stringRecord (newSettings, " observationSeconds" , settings.observationSeconds );
567567 stringRecord (newSettings, " observationPositionAccuracy" , settings.observationPositionAccuracy , 2 );
568568
569+ char tempString[50 ];
569570 int firstRTCMRecord = getMessageNumberByName (" UBX_RTCM_1005" );
570571 for (int x = 0 ; x < MAX_UBX_MSG_RTCM ; x++)
571- stringRecord (newSettings, ubxMessages[firstRTCMRecord + x].msgTextName , settings.ubxMessageRatesBase [x]);
572+ {
573+ snprintf (tempString, sizeof (tempString), " %sBase" , ubxMessages[firstRTCMRecord + x].msgTextName ); // UBX_RTCM_1074Base
574+ stringRecord (newSettings, tempString, settings.ubxMessageRatesBase [x]);
575+ }
572576
573577 if (settings.fixedBaseCoordinateType == COORD_TYPE_ECEF)
574578 {
@@ -1449,9 +1453,11 @@ void updateSettingWithValue(const char *settingName, const char* settingValueStr
14491453 {
14501454 int firstRTCMRecord = getMessageNumberByName (" UBX_RTCM_1005" );
14511455
1456+ char tempString[50 ];
14521457 for (int x = 0 ; x < MAX_UBX_MSG_RTCM ; x++)
14531458 {
1454- if (strcmp (settingName, ubxMessages[firstRTCMRecord + x].msgTextName ) == 0 )
1459+ snprintf (tempString, sizeof (tempString), " %sBase" , ubxMessages[firstRTCMRecord + x].msgTextName ); // UBX_RTCM_1074Base
1460+ if (strcmp (settingName, tempString) == 0 )
14551461 {
14561462 settings.ubxMessageRatesBase [x] = settingValue;
14571463 knownSetting = true ;
0 commit comments