@@ -687,6 +687,14 @@ struct Settings
687687 int observationSeconds = 60 ; // Default survey in time of 60 seconds
688688 float observationPositionAccuracy = 5.0 ; // Default survey in pos accy of 5m
689689 float surveyInStartingAccuracy = 1.0 ; // Wait for this horizontal positional accuracy in meters before starting survey in
690+ // Use MSM7 over MSM4: on platforms where that is possible and where it requires parameter selection
691+ // Needed on:
692+ // LG290P (PQTMCFGRTCM)
693+ // Not needed on:
694+ // mosaic-X5 (it has MSM4 and MSM7 message groups)
695+ // ZED (it has separate messages for MSM4 vs. MSM7)
696+ // UM980 (it has separate messages for MSM4 vs. MSM7)
697+ bool useMSM7 = false ;
690698
691699 // Battery
692700 bool enablePrintBatteryMessages = true ;
@@ -1192,6 +1200,7 @@ typedef enum
11921200 ZX2 = (1 << 4 ), // ZED-X20P - Tilt TBC
11931201 ALL = (1 << 5 ) - 1 , // ALL - must be the highest single variant
11941202 ZED = ZF9 | ZX2, // Hybrids are possible (enums don't have to be consecutive)
1203+ MSM = L29, // Platforms which require parameter selection of MSM7 over MSM4
11951204} Facet_Flex_Variant;
11961205
11971206typedef struct
@@ -1264,7 +1273,6 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
12641273// i d i v V i c n r e X
12651274// g s x k 2 c h d d x 2 Type Qual Variable Name
12661275
1267-
12681276 // =======================================================================================================
12691277 // Priority Settings which are not alphabetized in commandIndex
12701278 // =======================================================================================================
@@ -1297,6 +1305,21 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
12971305 // Everything below here will be sorted (alphabetized) in commandIndex
12981306 // =======================================================================================================
12991307
1308+ // F
1309+ // a
1310+ // F c
1311+ // i a e
1312+ // n i c t
1313+ // W n u e
1314+ // e C s F t V P T
1315+ // b o e a 2 o o
1316+ // C m S c M s r
1317+ // o m u e o T L t c
1318+ // n a f t s o B c F h
1319+ // f n f E a r a a l
1320+ // i d i v V i c n r e X
1321+ // g s x k 2 c h d d x 2 Type Qual Variable Name
1322+
13001323 // Antenna
13011324 { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _int16_t , 0 , & settings.antennaHeight_mm , " antennaHeight_mm" , },
13021325 { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _float, 2 , & settings.antennaPhaseCenter_mm , " antennaPhaseCenter_mm" },
@@ -1316,6 +1339,7 @@ const RTK_Settings_Entry rtkSettingsEntries[] =
13161339 { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _int, 0 , & settings.observationSeconds , " observationSeconds" , },
13171340 { 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _float, 2 , & settings.observationPositionAccuracy , " observationPositionAccuracy" , },
13181341 { 0 , 1 , 0 , 1 , 1 , 0 , 1 , 1 , 1 , ALL, 1 , _float, 1 , & settings.surveyInStartingAccuracy , " surveyInStartingAccuracy" , },
1342+ { 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , MSM, 1 , _bool, 0 , & settings.useMSM7 , " useMSM7" , },
13191343
13201344 // Battery
13211345 { 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , ALL, 1 , _bool, 0 , & settings.enablePrintBatteryMessages , " enablePrintBatteryMessages" , },
0 commit comments