|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Navigating Bluetooth GPSI am trying to connect a bluetooth GPS iPAQ Navigation System Model# BT-308 to my gumstix. When I boot the gumstix here is what I see:
(I snipped out the bluetooth related info from the boot sequence) .... Bluetooth: Core ver 2.11 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP ver 2.8 Bluetooth: L2CAP socket layer initialized Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM ver 1.8 Starting Bluetooth subsystem: Trying baud rate 921600... Got response after reset... gobbling Detected bluetooth module at 921600 baud Got: status=0x00, hci_ver=0x03, hci_rev=0x62b9, lmp_ver=0x03, manuf=0x0009, lmp9 Bluetooth: HCI UART driver ver 2.2 Bluetooth: HCI H4 protocol initialized ttyS1 hcid hid2hciWaiting for connection on channel 1 rfcomm hidd. ... When I run: root@gumstix-custom-verdex:~$ hcitool scan Scanning ... 00:0D:B5:02:F9:85 BT-GPS-02F985 root@gumstix-custom-verdex:~$ hcitool inq Inquiring ... 00:0D:B5:02:F9:85 clock offset: 0x55ed class: 0x001f00 root@gumstix-custom-verdex:~$ I can see it and I can inquire about it. I can even see it with: 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 |
|
|
Re: Navigating Bluetooth GPSThats 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 |
|
|
Re: Navigating Bluetooth GPSThis 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 |
|
|
Re: Navigating Bluetooth GPSScott,
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 |
| Free Forum Powered by Nabble | Forum Help |