« Return to Thread: Navigating Bluetooth GPS

Re: Navigating Bluetooth GPS

by Michael A. Nixon :: Rate this Message:

Reply to Author | View in Thread

Scott,

Did you get the GPS working?  I have recently fought through some of this.
The general methodology I used was:

See the Bluetooth GPS using hcitool commands (This you have accomplished)

Create an rfcomm connection to the device.

Check you /var/log/messages to see the various status information or use
"hcidump" to see the raw communication stream.
 
Then you can "cat /dev/rfcomm0" to see the raw GPS stream.
The thing that gave me fits was that I had to run a passkey program on my
gumstix to provide a passkey to the GPS device.  I used:

passkey-agent -default 0000 &

Once I could see the raw NMEA code on the /dev/rfcomm0 device, I installed

Gpsd on /dev/rfcomm0

Then, I found cgps a useful serial based program to begin the real work.  It
provides an update without watching the raw data - unless you are into that
"Matrix" sort of thing.  I do find it interesting that you can begin to
discern the items of interest from watching enough raw data...

Mike

-----Original Message-----
From: gumstix-users-bounces@...
[mailto:gumstix-users-bounces@...] On Behalf Of Marc
Humphreys
Sent: Wednesday, May 21, 2008 5:56 PM
To: 'General mailing list for gumstix users.'
Subject: Re: [Gumstix-users] Navigating Bluetooth GPS

This thread may give you some pointers

http://www.nabble.com/Trouble-connecting-to-a-Bluetooth-GPS-reciever-tp16463
249p16463249.html

Marc

> -----Original Message-----
> From: gumstix-users-bounces@... [mailto:gumstix-users-
> bounces@...] On Behalf Of Scott Brown
> Sent: Wednesday, May 21, 2008 5:54 PM
> To: gumstix-users@...
> Subject: Re: [Gumstix-users] Navigating Bluetooth GPS
>
>
> Thats weird, it cut the last two lines off of my post.
> Here is my question:
>
> root@gumstix-custom-verdex:/dev$ hidd --search
> Searching ...
>         Connecting to device 00:0D:B5:02:F9:85
> root@gumstix-custom-verdex:/dev$
>
> How do I see the GPS data coming from the device?
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 « Return to Thread: Navigating Bluetooth GPS