[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: garmin serial probe or force garmin serial mode.
|
From: |
Gary E. Miller |
|
Subject: |
Re: garmin serial probe or force garmin serial mode. |
|
Date: |
Mon, 30 Mar 2020 17:01:02 -0700 |
Yo Philip!
On Tue, 31 Mar 2020 12:37:11 +1300
Philip Lamb <address@hidden> wrote:
> On 31/03/2020, at 6:29 AM, Gary E. Miller <address@hidden> wrote:
> > On Mon, 30 Mar 2020 16:23:46 +1300 Philip Lamb <address@hidden>
> > wrote:
> >> I've got a Garmin device connected via serial link
> >> and configured to report in garmin format.
> >
> > And you know this how?
>
> The device (an old Garmin Geko 301) has a menu option to set the
> interface format, and its set to "Garmin". The serial format is
> locked in this mode to 9600 8N1.
A Geko, that is even worse than the usual Garmin junk.
According the their manual, The Geko is NMEA only. It does not support
Garmin Binary. See Appendix A, and Appendix C.
http://static.garmin.com/pumac/Geko201_OwnersManual.pdf
When the config offers "Garmin", that is just enabling some proprietary
NMEA sentences: $PGRME, $PGRMM, $PGRMZ, and $PSLIB.
> I am also able to read from the device e.g. using gpsbabel: `gpsbabel
> -i garmin,get_posn -f /dev/tty.usbserial -o kml -F mygpsposn.kml` and
> this works fine and retrieves the current fix into that kml file.
Which only proves the data stream is readable, not what the data stream
format is. Can you send a copy of the raw output?
> > No probe needed. When the Garmin sends garmin binary it is
> > auto-detected in packet.c
>
> OK, but how would a packet ever be generated if gpsd doesn't know
> what protocol it should be using to *request* that the device start
> sending position data?
Read the gpsctl man page. Or use "gspctl -t garmin -b'. But that will
not work as the Geko does not support Garmin Binary.
> Is it assumed that the device is always
> streaming data?
Yes.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpJNZqV2QpPC.pgp
Description: OpenPGP digital signature