File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -741,6 +741,40 @@ bool gnssIsRTKFloat()
741
741
return (false );
742
742
}
743
743
744
+ bool gnssIsPppConverging ()
745
+ {
746
+ if (online.gnss == true )
747
+ {
748
+ if (present.gnss_zedf9p )
749
+ {
750
+ return (false );
751
+ }
752
+ else if (present.gnss_um980 )
753
+ {
754
+ if (um980GetPositionType () == 68 ) // 68 = PPP solution converging
755
+ return (true );
756
+ }
757
+ }
758
+ return (false );
759
+ }
760
+
761
+ bool gnssIsPppConverged ()
762
+ {
763
+ if (online.gnss == true )
764
+ {
765
+ if (present.gnss_zedf9p )
766
+ {
767
+ return (false );
768
+ }
769
+ else if (present.gnss_um980 )
770
+ {
771
+ if (um980GetPositionType () == 69 ) // 69 = Precision Point Positioning
772
+ return (true );
773
+ }
774
+ }
775
+ return (false );
776
+ }
777
+
744
778
float gnssGetHorizontalAccuracy ()
745
779
{
746
780
if (online.gnss == true )
Original file line number Diff line number Diff line change @@ -377,6 +377,10 @@ void printReports()
377
377
systemPrint (" RTK Fix" );
378
378
else if (gnssIsRTKFloat () == true )
379
379
systemPrint (" RTK Float" );
380
+ else if (gnssIsPppConverged () == true )
381
+ systemPrint (" PPP Converged" );
382
+ else if (gnssIsPppConverging () == true )
383
+ systemPrint (" PPP Converging" );
380
384
else if (gnssIsDgpsFixed () == true )
381
385
systemPrint (" DGPS Fix" );
382
386
else if (gnssIsFixed () == true )
You can’t perform that action at this time.
0 commit comments