@@ -517,8 +517,8 @@ void updateLBand()
517
517
#ifdef COMPILE_L_BAND
518
518
if (present.lband_neo )
519
519
{
520
- // Start L-Band if it is enabled
521
- if (online.lband_neo == false && pointPerfectLbandEnabled () == true )
520
+ // Start L-Band if it is enabled
521
+ if (online.lband_neo == false && pointPerfectLbandNeeded () == true )
522
522
{
523
523
static bool lband_neo_can_not_begin = false ;
524
524
@@ -625,7 +625,7 @@ void updateLBand()
625
625
626
626
online.lband_neo = true ;
627
627
}
628
- else if (online.lband_neo && pointPerfectIsEnabled ())
628
+ else if (online.lband_neo && pointPerfectServiceUsesKeys ())
629
629
{
630
630
// L-Band is online. Apply the keys if they have changed
631
631
// This may be redundant as PROVISIONING_KEYS_REMAINING also applies the keys
@@ -644,7 +644,7 @@ void updateLBand()
644
644
if (present.gnss_mosaicX5 )
645
645
{
646
646
// Start L-Band if service is enabled
647
- if (online.lband_gnss == false && pointPerfectLbandEnabled ())
647
+ if (online.lband_gnss == false && pointPerfectLbandNeeded ())
648
648
{
649
649
if (lband_gnss_can_not_begin)
650
650
return ;
@@ -711,7 +711,7 @@ void updateLBand()
711
711
}
712
712
713
713
// Stop L-Band is service is disabled
714
- else if (online.lband_gnss == true && pointPerfectLbandEnabled () == false )
714
+ else if (online.lband_gnss == true && pointPerfectLbandNeeded () == false )
715
715
{
716
716
Serial.println (" \n\r Taking L-Band offline" );
717
717
@@ -831,16 +831,24 @@ bool pointPerfectServiceUsesKeys()
831
831
return false ;
832
832
}
833
833
834
- // Determine if this service type uses L-Band
835
- bool pointPerfectLbandEnabled ()
834
+ // Determine if this service type uses MQTT for corrections
835
+ bool pointPerfectMqttNeeded ()
836
+ {
837
+ if (settings.pointPerfectService == PP_NICKNAME_IP_MQTT)
838
+ return true ;
839
+ return false ;
840
+ }
841
+
842
+ // Determine if this service type uses L-Band for corrections
843
+ bool pointPerfectLbandNeeded ()
836
844
{
837
845
if (settings.pointPerfectService == PP_NICKNAME_FLEX_LBAND_NA || settings.pointPerfectService == PP_NICKNAME_GLOBAL)
838
846
return true ;
839
847
return false ;
840
848
}
841
849
842
850
// Determine if this service type uses NTRIP for corrections
843
- bool pointPerfectNtripEnabled ()
851
+ bool pointPerfectNtripNeeded ()
844
852
{
845
853
if (settings.pointPerfectService == PP_NICKNAME_FLEX_RTCM || settings.pointPerfectService == PP_NICKNAME_LIVE)
846
854
return true ;
@@ -918,7 +926,6 @@ bool productVariantNeedsPpl()
918
926
return false ;
919
927
}
920
928
921
-
922
929
// Given a service nick name, return whether this platform supports it
923
930
// Helps with printing the menu
924
931
bool productVariantSupportsService (uint8_t ppNickName)
0 commit comments