gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] SiRF IV on gpsmon


From: Eric S. Raymond
Subject: Re: [gpsd-dev] SiRF IV on gpsmon
Date: Wed, 13 Nov 2013 02:39:55 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Gary E. Miller <address@hidden>:
> Not for me, see attached.

OK.  Next thing to try is to get gpsmon out of the way.

0. Hook up your GR-601W.

2. Start gpsd at -D 5.  Verify that PPS edges are being seen.

3. Fire up telnet localhost 2847

4. Give it this watch request:

?WATCH={"enable":true,"nmea":true,"ppsbar":true}

The new magic is "ppsbar":true. The output should look something like this:

address@hidden:~/software/gpsd$ telnet localhost 2947
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
?WATCH={"enable":true,"nmea":true,"ppsbar":true}
{"class":"VERSION","release":"3.10~dev","rev":"release-3.9-775-gb360367","proto_major":3,"proto_minor":9}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS0","driver":"u-blox","activated":"2013-11-13T07:32:14.855Z","flags":1,"native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.25}]}
{"class":"WATCH","enable":true,"json":false,"nmea":true,"raw":0,"scaled":false,"timing":false,"split24":false,"ppsbar":true}
$GPZDA,073215.00,13,11,2013,00,00*66
$GPGGA,073215,4002.1032,N,07531.2031,W,1,05,2.16,185.42,M,-33.895,M,,*77
$GPRMC,073215,A,4002.1032,N,07531.2031,W,0.1794,86.499,131113,,*0A
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.5,2.2,2.7*31
$GPGBS,073215,35.54,M,31.95,M,63.02,M*02
$GPZDA,073216.00,13,11,2013,00,00*65
$GPGGA,073216,4002.1033,N,07531.2029,W,1,05,2.41,185.15,M,-33.895,M,,*7C
$GPRMC,073216,A,4002.1033,N,07531.2029,W,0.3057,73.192,131113,,*0F
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.6,2.4,2.7*34
#----------------------------------- PPS -----------------------------------#
$GPZDA,073217.00,13,11,2013,00,00*64
$GPGGA,073217,4002.1031,N,07531.2032,W,1,05,2.41,185.51,M,-33.895,M,,*75
$GPRMC,073217,A,4002.1031,N,07531.2032,W,0.0261,201.874,131113,,*34
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.6,2.4,2.7*34
$GPGBS,073217,35.54,M,31.95,M,62.79,M*0D
#----------------------------------- PPS -----------------------------------#
$GPZDA,073607.00,13,11,2013,00,00*61
$GPGGA,073607,4002.1033,N,07531.2043,W,1,06,2.17,193.94,M,-33.895,M,,*7A
$GPRMC,073607,A,4002.1033,N,07531.2043,W,0.2018,237.587,131113,,*3F
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.4,2.2,2.6*31
#----------------------------------- PPS -----------------------------------#
$GPZDA,073608.00,13,11,2013,00,00*6E
$GPGGA,073608,4002.1032,N,07531.2041,W,1,06,2.17,194.65,M,-33.895,M,,*7F
$GPRMC,073608,A,4002.1032,N,07531.2041,W,0.1347,181.938,131113,,*3F
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.4,2.2,2.6*31
$GPGBS,073608,28.18,M,15.60,M,60.03,M*00
#----------------------------------- PPS -----------------------------------#
$GPZDA,073609.00,13,11,2013,00,00*6F
$GPGGA,073609,4002.1031,N,07531.2042,W,1,06,2.17,195.93,M,-33.895,M,,*76
$GPRMC,073609,A,4002.1031,N,07531.2042,W,0.2205,219.796,131113,,*32
$GPGSA,A,3,00,00,00,00,00,00,00,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,3.4,2.2,2.6*31

> > I believe it's working in direct mode - if you know differently, tell
> > me. I'm going to try to get it working in client mode, that's the
> > highest priority item left on my pre-3.10 list.
> 
> Not for me:
> 
> /dev/ttyUSB0 identified as a SiRF at 4800 baud.
> dagwood gpsd # killall gpsd
> gpsd: no process found
> dagwood gpsd # gpsctl -f -s 38400 /dev/ttyUSB0
> /dev/ttyUSB0 identified as a SiRF at 4800 baud.
> dagwood gpsd # gpsctl -f -s 38400 /dev/ttyUSB0
> /dev/ttyUSB0 identified as a SiRF at 4800 baud.
> dagwood gpsd # gpsctl -f -s 38400 /dev/ttyUSB0
> /dev/ttyUSB0 identified as a SiRF at 4800 baud.

Doesn't reproduce here.  This is with the BU355 (SirF III) on /dev/USB0:

address@hidden:~/software/gpsd$ gpsctl -f /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 19200 baud.
address@hidden:~/software/gpsd$ gpsctl -f -s 9600 /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 19200 baud.
address@hidden:~/software/gpsd$ gpsctl -f /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 9600 baud.
address@hidden:~/software/gpsd$ gpsctl -f -s 38400 /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 9600 baud.
address@hidden:~/software/gpsd$ gpsctl -f -s 38400 /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 38400 baud.
address@hidden:~/software/gpsd$ gpsctl -f -s 9600 /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 38400 baud.
address@hidden:~/software/gpsd$ gpsctl -f /dev/ttyUSB0
/dev/ttyUSB0 identified as a SiRF at 9600 baud.

Hm. Is it possible they changed the port configuration sentence in the
version IV protocol?

I think I'll hack the ID sentence to include the firmware 
subtype if it's available.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


reply via email to

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