GPS.DLL and WM6

alfcen

Well-Known Member
Licensed User
Longtime User
Hi Erel
On an iPAQ 210 running WM6 the parse results of the gps.dll
randomly include the "$GPGGA" instring in altitude and NoOfSats,
resulting in a lost connection after a minute or so. No such
encounter with PPC2003.

It could be a hardware mismatch, but just for safety, could you please
be so kind as to look into this?

Thanks & Cheers
Robert
 

alfcen

Well-Known Member
Licensed User
Longtime User
Yes, Erel, mostly proceeded by further data, including comma separators.
Looks like a decode error. Thanks!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Can you log the GPS data?
You will need a code similar to:
You should first open the file.
B4X:
Sub Timer1_Tick
    If Serial1.InBufferCount > 0 Then
        s = serial1.InputString
        FileWrite(c,s)
        GPS1.GPSStream(s)
    End If
End Sub

Sub GPS1_GPSDecoded
    If gps1.Altitude <> "" AND Not(IsNumber(gps1.Altitude)) Then
        timer1.Enabled = false
        Msgbox("error found")
        FileClose(c)
    End If
End Sub
 
Top