@@ -1374,15 +1374,15 @@ uint8_t GNSS_LG290P::getLoggingType()
13741374 // GST is not available/default
13751375 if (getActiveNmeaMessageCount () == 6 && getActiveRtcmMessageCount () == 0 )
13761376 logType = LOGGING_STANDARD;
1377- else if (getActiveNmeaMessageCount () == 6 && getActiveRtcmMessageCount () == 8 )
1377+ else if (getActiveNmeaMessageCount () == 6 && getActiveRtcmMessageCount () == 4 )
13781378 logType = LOGGING_PPP;
13791379 }
13801380 else
13811381 {
13821382 // GST *is* available/default
13831383 if (getActiveNmeaMessageCount () == 7 && getActiveRtcmMessageCount () == 0 )
13841384 logType = LOGGING_STANDARD;
1385- else if (getActiveNmeaMessageCount () == 7 && getActiveRtcmMessageCount () == 8 )
1385+ else if (getActiveNmeaMessageCount () == 7 && getActiveRtcmMessageCount () == 4 )
13861386 logType = LOGGING_PPP;
13871387 }
13881388
@@ -1824,8 +1824,8 @@ void GNSS_LG290P::menuMessages()
18241824 systemPrintln (" 4) Set PQTM Messages" );
18251825
18261826 systemPrintln (" 10) Reset to Defaults" );
1827- systemPrintln (" 11) Reset to PPP Logging (NMEAx7 / RTCMx8 - 30 second decimation)" );
1828- systemPrintln (" 12) Reset to High-rate PPP Logging (NMEAx7 / RTCMx8 - 1Hz)" );
1827+ systemPrintln (" 11) Reset to PPP Logging (NMEAx7 / RTCMx4 - 30 second decimation)" );
1828+ systemPrintln (" 12) Reset to High-rate PPP Logging (NMEAx7 / RTCMx4 - 1Hz)" );
18291829
18301830 systemPrintln (" x) Exit" );
18311831
@@ -1875,23 +1875,30 @@ void GNSS_LG290P::menuMessages()
18751875
18761876 setRtcmRoverMessageRates (0 ); // Turn off all RTCM messages
18771877 setRtcmRoverMessageRateByName (" RTCM3-1019" , rtcmReportRate);
1878- setRtcmRoverMessageRateByName (" RTCM3-1020" , rtcmReportRate);
1879- setRtcmRoverMessageRateByName (" RTCM3-1042" , rtcmReportRate);
1880- setRtcmRoverMessageRateByName (" RTCM3-1046" , rtcmReportRate);
1878+ // setRtcmRoverMessageRateByName("RTCM3-1020", rtcmReportRate); //Not needed when MSM7 is used
1879+ // setRtcmRoverMessageRateByName("RTCM3-1042", rtcmReportRate); //BeiDou not used by CSRS-PPP
1880+ // setRtcmRoverMessageRateByName("RTCM3-1046", rtcmReportRate); //Not needed when MSM7 is used
18811881 setRtcmRoverMessageRateByName (" RTCM3-107X" , rtcmReportRate);
18821882 setRtcmRoverMessageRateByName (" RTCM3-108X" , rtcmReportRate);
18831883 setRtcmRoverMessageRateByName (" RTCM3-109X" , rtcmReportRate);
1884- setRtcmRoverMessageRateByName (" RTCM3-112X" , rtcmReportRate);
1884+ // setRtcmRoverMessageRateByName("RTCM3-112X", rtcmReportRate); //BeiDou not used by CSRS-PPP
1885+
1886+ // Default is MSM4. Change to MSM7 to aid in faster PPP CSRS results.
1887+ _lg290p->sendOkCommand (" $PQTMCFGRTCM" ," W,7,0,15,07,06,1,0" ); // Enable MSM7, 15 degree requirement on satellites
1888+
1889+ // Override settings for PPP logging
1890+ setElevation (15 );
1891+ setMinCnoRadio (30 );
18851892
18861893 setRate (1 ); // Go to 1 Hz
18871894
18881895 if (incoming == 12 )
18891896 {
1890- systemPrintln (" Reset to High-rate PPP Logging Defaults (NMEAx1 / RTCMx8 - 1Hz)" );
1897+ systemPrintln (" Reset to High-rate PPP Logging Defaults (NMEAx7 / RTCMx4 - 1Hz)" );
18911898 }
18921899 else
18931900 {
1894- systemPrintln (" Reset to PPP Logging Defaults (NMEAx1 / RTCMx8 - 30 second decimation)" );
1901+ systemPrintln (" Reset to PPP Logging Defaults (NMEAx7 / RTCMx4 - 30 second decimation)" );
18951902 }
18961903 }
18971904
@@ -1910,6 +1917,8 @@ void GNSS_LG290P::menuMessages()
19101917 restartRover = true ;
19111918 else
19121919 restartBase = true ;
1920+
1921+ setLoggingType (); // Determine if we are standard, PPP, or custom. Changes logging icon accordingly.
19131922}
19141923
19151924// ----------------------------------------
0 commit comments