ttyUSB monitoring (CONTINUED)
Lloyd Kvam
python at venix.com
Sat Jan 12 12:11:22 EST 2008
(my fingers went into program-editor-mode and triggered the email send keystroke shortcut)
On Sat, 2008-01-12 at 11:29 -0500, Thomas Charron wrote:
> On Jan 11, 2008 7:29 PM, Lloyd Kvam <python at venix.com> wrote:
> > I bought a GPS tracker (RGM-3800) under the delusion that I would be
> > able to collect data from it using Linux. Unfortunately, it is using a
> > proprietary protocol to collect data. The serial connection is
> > 115200-n-8-1, but the device does not use the "normal" command
> > sequences.
>
> Where do you find anything that says it uses a proprietary protocol?
> It's using NMEA-0183.
>
It could well be user error.
The logs, once pulled off the device are nmea. I can deal with those OK
using gpsbabel, etc.
Pulling the logs off the device requires some kind of command
interaction that is buried in a Windows program. I could not get
gpsd/sirfmon to do any thing useful. Looking through the output from
strings data_load.exe
I did find these format strings:
$GPGGA,%02d%02d%02d.000,%.2d%07.4f,%c,%.3d%07.4f,%c,%d,00,,0.0,M,0.0,M,,0000
$GPRMC,%02d%02d%02d.000,A,%.2d%07.4f,%c,%.3d%07.4f,%c,%06.2f,15.15,%02d%02d%02d,,,E
$GPGGA,%02d%02d%02d.000,%.2d%07.4f,%c,%.3d%07.4f,%c,%d,00,,%06.1f,M,0.0,M,,0000
so figuring out the serial protocol may be a bit ugly.
If you have any pointers, that would be great. I tried using minicom
and info from the man pages to manually talk to the device, but had no
success.
http://www.linuxjournal.com/node/7582/
Snooping the USB Data Stream
was referenced from the site Ben sent. I'm hoping that will do the
trick.
--
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
More information about the gnhlug-discuss
mailing list