gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garmin GLO2 with GPSD


From: Fred Hillhouse
Subject: Re: Garmin GLO2 with GPSD
Date: Fri, 1 Oct 2021 12:23:59 -0400

Hi Gary,
 
I copied the author of Direwolf.
 
I apologize, I should have provided a better description of the receiver. The Garmin GLO 2 (and the ‘Dual XGPS160’) can provide data sentences to four Bluetooth users at the same time. I used the term ‘channel’ to describe the connection for a user. After thinking about this, ‘port’ might be a better term. On a Windows PC. Using PuTTY, I happen to see NMEA sentences.
 
Trimmed content that is not really contributing.
 
>> Direwolf acquires data from GPSD. It never sees a (constant) valid position. My
>> suspicion is that the connection between rfcomm and GPSD is not
>> complete.
 
Added ‘constant’ above for clarity.
Is it possible I need to pipe(?) the rfcomm output to TTY so the Baud possibly could be regulated?
 
>My guess is a simple gpsd version mismatch.  You cannot mix and match
>gpsd client and server versions.  Have their dev contact me and I
>can help them debug it.
 
Copied the author.
 
At the RPi CLI: gpsd –V results in gpsd: 3.17 (revision 3.17)
I assume that it the server. As far as the ‘client’ part, I don’t know. I am not sure how to check. Noob here. Perhaps gpsd has been updated and the client (Direwolf) is older.
 
> >>  Status:     3D FIX (0 secs)
> 
> >You said you never got status?  But there it is.  You have a 3D fix,
> >and you just got it (not old).  
 
Yes, according to cgps, I just got it, but, it has been there all day long.
 
On a different device monitoring a serial port (Bluetooth to COMport), capturing sentences with PuTTY, connected to the same GPS, at the same time, there is never a loss of 3D status!
 
$GPRMC,154554.5,A,4259.888295,N,07130.404165,W,000.04,165.7,011021,014.9,W,A*31
$GPGGA,154554.5,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5C
$GPVTG,165.7,T,180.6,M,000.04,N,0000.07,K,A*1A
$GPRMC,154554.6,A,4259.888295,N,07130.404165,W,000.03,165.7,011021,014.9,W,A*35
$GPGGA,154554.6,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5F
$GPVTG,165.7,T,180.6,M,000.03,N,0000.06,K,A*1C
$GPRMC,154554.7,A,4259.888295,N,07130.404165,W,000.03,165.7,011021,014.9,W,A*34
$GPGGA,154554.7,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5E
$GPVTG,165.7,T,180.6,M,000.03,N,0000.05,K,A*1F
$GPRMC,154554.8,A,4259.888295,N,07130.404165,W,000.02,165.7,011021,014.9,W,A*3A
$GPGGA,154554.8,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*51
$GPVTG,165.7,T,180.6,M,000.02,N,0000.04,K,A*1F
$GPRMC,154554.9,A,4259.888295,N,07130.404165,W,000.03,165.7,011021,014.9,W,A*3A
$GPGGA,154554.9,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*50
$GPVTG,165.7,T,180.6,M,000.03,N,0000.06,K,A*1C
$GPRMC,154555.0,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*39
$GPGGA,154555.0,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*58
$GPVTG,165.7,T,180.6,M,000.08,N,0000.14,K,A*14
$GPGSA,A,3,29,30,69,13,78,20,18,23,79,02,77,05,1.4,0.8,1.1*36
$GPRMC,154555.1,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*38
$GPGGA,154555.1,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*59
$GPVTG,165.7,T,180.6,M,000.08,N,0000.15,K,A*15
$GPGSV,4,1,13,35,04,102,00,29,49,237,19,30,18,063,29,69,51,031,28*70
$GPGSV,4,2,13,13,69,118,18,78,65,260,28,20,36,074,20,18,34,309,26*75
$GPGSV,4,3,13,23,14,268,18,79,16,235,25,02,26,130,35,77,52,161,32*75
$GPGSV,4,4,13,05,65,045,22*4C
$GPRMC,154555.2,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*3B
$GPGGA,154555.2,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5A
$GPVTG,165.7,T,180.6,M,000.08,N,0000.16,K,A*16
$GPRMC,154555.3,A,4259.888295,N,07130.404165,W,000.09,165.7,011021,014.9,W,A*3B
$GPGGA,154555.3,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5B
$GPVTG,165.7,T,180.6,M,000.09,N,0000.16,K,A*17
$GPRMC,154555.5,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*3C
$GPGGA,154555.5,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5D
$GPVTG,165.7,T,180.6,M,000.08,N,0000.15,K,A*15
$GPRMC,154555.6,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*3F
$GPGGA,154555.6,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5E
$GPVTG,165.7,T,180.6,M,000.08,N,0000.15,K,A*15
$GPRMC,154555.7,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*3E
$GPGGA,154555.7,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5F
$GPVTG,165.7,T,180.6,M,000.08,N,0000.15,K,A*15
$GPRMC,154555.8,A,4259.888295,N,07130.404165,W,000.08,165.7,011021,014.9,W,A*31
$GPGGA,154555.8,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*50
$GPVTG,165.7,T,180.6,M,000.08,N,0000.15,K,A*15
$GPRMC,154555.9,A,4259.888295,N,07130.404165,W,000.09,165.7,011021,014.9,W,A*31
$GPGGA,154555.9,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*51
$GPVTG,165.7,T,180.6,M,000.09,N,0000.16,K,A*17
$GPRMC,154556.0,A,4259.888295,N,07130.404165,W,000.09,165.7,011021,014.9,W,A*3B
$GPGGA,154556.0,4259.888295,N,07130.404165,W,1,12,0.8,91.4,M,-32.3,M,,*5B
$GPVTG,165.7,T,180.6,M,000.09,N,0000.16,K,A*17
$GPGSA,A,3,29,30,69,13,78,20,18,23,79,02,77,05,1.4,0.8,1.1*36
 
However, using cgps, it is in 2D, then 3D, then 2D, then 3D:
{"class":"TPV","device":"/dev/rfcomm1","mode":2,"time":"2021-09-30T22:51:41.300Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"epx":8.979,"epy":8.071,"track":147.6000,"speed":0.257,"eps":179.58}
{"class":"TPV","device":"/dev/rfcomm1","mode":3,"time":"2021-09-30T22:51:41.300Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"alt":92.900,"epx":8.979,"epy":8.071,"epv":25.300,"track":147.6000,"speed":0.257,"eps":179.58}
{"class":"TPV","device":"/dev/rfcomm1","mode":2,"time":"2021-09-30T22:51:41.400Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"epx":8.979,"epy":8.071,"track":147.6000,"speed":0.268,"eps":179.58}
{"class":"TPV","device":"/dev/rfcomm1","mode":3,"time":"2021-09-30T22:51:41.400Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"alt":92.900,"epx":8.979,"epy":8.071,"epv":25.300,"track":147.6000,"speed":0.268,"eps":179.58}
{"class":"TPV","device":"/dev/rfcomm1","mode":2,"time":"2021-09-30T22:51:41.500Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"epx":8.979,"epy":8.071,"track":147.6000,"speed":0.283,"eps":179.58}
{"class":"TPV","device":"/dev/rfcomm1","mode":3,"time":"2021-09-30T22:51:41.500Z","ept":0.005,"lat":42.998138533,"lon":-71.506726033,"alt":92.900,"epx":8.979,"epy":8.071,"epv":25.300,"track":147.6000,"speed":0.283,"eps":179.58}
 
 
>> The GPS has been running for over 2 days in a good location with
>> excellent sky view. Yes, the satellites could be in places that makes
>> it less than perfect but I have a solid 3D fix and have ad that all
>> along.
 
>So, again, what is the problem?
 
Direwolf writes text to the terminal window for every change in status. That in itself is not a problem, unless the status is constantly changing. So, I see an endless stream of:
GPSD: Location Fix is now 2D
GPSD: Location Fix is now 3D
GPSD: Location Fix is now 2D
GPSD: Location Fix is now 3D
GPSD: Location Fix is now 2D
GPSD: Location Fix is now 3D
It never ends.
 
>> >So, what is the problem again?  You cgps looks fine to me.  
>> 
>> Other than the 3D Fix is not even 1 second old in cgps,
 
>Ah, that is a good thing.  Old fixes are not good, a fresh new fix is good.
>If you want old fixes, turn off your GPS.
 
I understand but what happens when your GPS is connected and you use cgps to examine the “Status”? Does your “Status” increment as time passes? As I understand it, it increases with time and drops back to 0 if the status is 2D. Of course my understanding can be flawed.
 
 
>If you are getting very fresh and current updates, that cannot possibly
>be a connection issue.
 
A fresh update of 2D with the following of 3D, repeating non-stop, still doesn’t seem right. That is the symptom. I can’t identify the problem.
 
Thank you!
 
Best regards,
Fred



Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]