@@ -55,26 +55,23 @@ enum PP_Encoding
55
55
};
56
56
57
57
// PointPerfect offers are variety of services
58
- // Each service will have a printable name
58
+ // Each service will have a printable name, delivery method, and encoding
59
59
typedef struct
60
60
{
61
- const char serviceName[23 ];
61
+ const char serviceName[30 ];
62
62
PP_ModelType modelType;
63
63
PP_DeliveryMethod deliveryMethod;
64
64
PP_Encoding encoding;
65
65
} PP_Service;
66
66
67
- // Static array containing all the compatible messages
68
- // Rate = Output once every N position fix(es).
67
+ // The various services offered by PointPerfect
69
68
const PP_Service ppServices[] = {
70
69
{" Disabled" , PP_MODEL_NONE, PP_DELIVERY_NONE, PP_ENCODING_NONE}, // Do not use PointPerfect corrections
71
70
{" Flex NTRIP/RTCM" , PP_MODEL_SSR, PP_DELIVERY_NTRIP, PP_ENCODING_RTCM}, // Uses "ZTP-RTCM-100" profile
72
- {" Flex L-Band NA " , PP_MODEL_SSR, PP_DELIVERY_LBAND_NA, PP_ENCODING_SPARTN}, // Uses "ZTP-LBand" profile
71
+ {" Flex L-Band North America " , PP_MODEL_SSR, PP_DELIVERY_LBAND_NA, PP_ENCODING_SPARTN}, // Uses "ZTP-LBand" profile
73
72
{" Global" , PP_MODEL_SSR, PP_DELIVERY_LBAND_GLOBAL, PP_ENCODING_SPARTN}, // Uses "ZTP-Global" profile
74
73
{" Live" , PP_MODEL_OSR, PP_DELIVERY_NTRIP, PP_ENCODING_RTCM}, // Uses "ZTP-Live" profile
75
- {" Flex MQTT (Deprecated)" , PP_MODEL_SSR, PP_DELIVERY_MQTT, PP_ENCODING_SPARTN}, // Deprecated
76
- // "ZTP-IP" profile deprecated - This was used for getting corrections over IP using MQTT transport (no longer
77
- // supported on new accounts)
74
+ {" Flex MQTT (Deprecated)" , PP_MODEL_SSR, PP_DELIVERY_MQTT, PP_ENCODING_SPARTN}, // Uses "ZTP-IP" profile, now deprecated
78
75
// "ZTP-RTCM-100-Trial" profile deprecated
79
76
// "ZTP-LBand+IP" profile deprecated
80
77
};
@@ -320,6 +317,8 @@ const char *printDeviceId()
320
317
// Present user with list of available services, list depends on platform
321
318
void menuPointPerfectSelectService ()
322
319
{
320
+ clearBuffer (); // Empty buffer of any newline chars
321
+
323
322
while (1 )
324
323
{
325
324
systemPrintln ();
@@ -342,11 +341,8 @@ void menuPointPerfectSelectService()
342
341
{
343
342
settings.pointPerfectService = incoming - 1 ; // Align incoming to array
344
343
345
- // Many functions depend on settings.enablePointPerfectCorrections so continue to support it
346
- settings.enablePointPerfectCorrections = settings.pointPerfectService ;
347
-
348
344
restartRover = true ; // Require a rover restart to enable / disable RTCM for PPL
349
- settings.requestKeyUpdate = settings.enablePointPerfectCorrections ; // Force a key update - or don't
345
+ settings.requestKeyUpdate = settings.pointPerfectService ; // Force a key update - or don't
350
346
351
347
break ; // Exit menu once selected
352
348
}
0 commit comments