public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] bluetooth and gps
@ 2004-05-27 23:50 Joseph Sirucka
  2004-05-28  6:52 ` Michal Semler
  2004-05-29  2:59 ` Gene Imes
  0 siblings, 2 replies; 4+ messages in thread
From: Joseph Sirucka @ 2004-05-27 23:50 UTC (permalink / raw)
  To: bluez-users

Hi All

I have a bluetooth gps unit and would like to know how do I get about 
connecting the unit to my linux machine.

I can get the usb bluetooth working with

bfusb and hci_usb drivers with others like l2cap, bluez etc

I can hcitool scan the bluetooth unit.

what do I need to make a connection to the unit.

regards

Joseph


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] bluetooth and gps
  2004-05-28  6:52 ` Michal Semler
@ 2004-05-28  6:02   ` yaboo
  0 siblings, 0 replies; 4+ messages in thread
From: yaboo @ 2004-05-28  6:02 UTC (permalink / raw)
  To: cijoml; +Cc: bluez-users

Michael

can you please give me a dummy guide on howto.

e,g. please tell what commands you need to type.

regards

Joseph


Michal Semler wrote:

>user rfcomm as serial port and connect via it to ups using gpsd
>
>Michal
>
>On Friday 28 of May 2004 01:50, Joseph Sirucka wrote:
>  
>
>>Hi All
>>
>>I have a bluetooth gps unit and would like to know how do I get about
>>connecting the unit to my linux machine.
>>
>>I can get the usb bluetooth working with
>>
>>bfusb and hci_usb drivers with others like l2cap, bluez etc
>>
>>I can hcitool scan the bluetooth unit.
>>
>>what do I need to make a connection to the unit.
>>
>>regards
>>
>>Joseph
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: Oracle 10g
>>Get certified on the hottest thing ever to hit the market... Oracle 10g.
>>Take an Oracle 10g class now, and we'll give you the exam FREE.
>>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>>_______________________________________________
>>Bluez-users mailing list
>>Bluez-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/bluez-users
>>    
>>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: Oracle 10g
>Get certified on the hottest thing ever to hit the market... Oracle 10g. 
>Take an Oracle 10g class now, and we'll give you the exam FREE.
>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] bluetooth and gps
  2004-05-27 23:50 [Bluez-users] bluetooth and gps Joseph Sirucka
@ 2004-05-28  6:52 ` Michal Semler
  2004-05-28  6:02   ` yaboo
  2004-05-29  2:59 ` Gene Imes
  1 sibling, 1 reply; 4+ messages in thread
From: Michal Semler @ 2004-05-28  6:52 UTC (permalink / raw)
  To: bluez-users

user rfcomm as serial port and connect via it to ups using gpsd

Michal

On Friday 28 of May 2004 01:50, Joseph Sirucka wrote:
> Hi All
>
> I have a bluetooth gps unit and would like to know how do I get about
> connecting the unit to my linux machine.
>
> I can get the usb bluetooth working with
>
> bfusb and hci_usb drivers with others like l2cap, bluez etc
>
> I can hcitool scan the bluetooth unit.
>
> what do I need to make a connection to the unit.
>
> regards
>
> Joseph
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] bluetooth and gps
  2004-05-27 23:50 [Bluez-users] bluetooth and gps Joseph Sirucka
  2004-05-28  6:52 ` Michal Semler
@ 2004-05-29  2:59 ` Gene Imes
  1 sibling, 0 replies; 4+ messages in thread
From: Gene Imes @ 2004-05-29  2:59 UTC (permalink / raw)
  To: list-bluez

On Thu, 2004-05-27 at 18:50, Joseph Sirucka wrote:
> Hi All
> 
> I have a bluetooth gps unit and would like to know how do I get about 
> connecting the unit to my linux machine.
> 
> I can get the usb bluetooth working with
> 
> bfusb and hci_usb drivers with others like l2cap, bluez etc
> 
> I can hcitool scan the bluetooth unit.
> 
> what do I need to make a connection to the unit.
> 
> regards
> 
> Joseph

rfcomm -h shows the following:

rfcomm bind <dev> <bdaddr> <channel>

<dev> is rfcommX where X is 0,1,2... probably 0

<bdaddr> is the output of your device determined by hcitool scan. In my
case is:
root@tr1a:~# hcitool scan
Scanning ...
        00:02:C7:15:7A:2F       BTGPS 157A2F

<channel> is 0-13 depending on your location

So the command for me would be

rfcomm bind 0 00:02:C7:15:7A:2F 1

My /etc/bluetooth rfcomm.conf looks thus:

rfcomm0 {
        # Automatically bind the device at startup
        bind yes;
 
        # Bluetooth address of the device
        #device 11:22:33:44:55:66;
        device 00:02:C7:15:7A:2F;
 
        # RFCOMM channel for the connection
        channel 1;
 
        # Description of the connection
        comment "Example Bluetooth device";
}

So if you type 'rfcomm bind 0' your device should be connected. Then say
perhaps you have gpsdrive. Click the 'Start GPSD' button and you should
be connected.

Good luck.

Ciao,

Gene



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-29  2:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 23:50 [Bluez-users] bluetooth and gps Joseph Sirucka
2004-05-28  6:52 ` Michal Semler
2004-05-28  6:02   ` yaboo
2004-05-29  2:59 ` Gene Imes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox