Hi,
I am looking for a way to check if the GPS is fixed.
I tried this using the NMEA syntax. But this seems not working all the time...
Is this incorrect or are their better ways to do this?
I am looking for a way to check if the GPS is fixed.
B4X:
Sub GPS1_NMEA (timestamp As Long, Sentence As String)
If Sentence.StartsWith("$GPGSA") Then
If Sentence.CharAt(9)=3 Then
gpsFix=True
Else
gpsFix=False
End If
End If
End Sub
Is this incorrect or are their better ways to do this?