All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gene Imes <ebi7@ozob.net>
To: list-bluez <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] bluetooth and gps
Date: Fri, 28 May 2004 21:59:08 -0500	[thread overview]
Message-ID: <1085799548.31067.50.camel@go2> (raw)
In-Reply-To: <40B67EB9.7080102@connectingyou.com.au>

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

      parent reply	other threads:[~2004-05-29  2:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085799548.31067.50.camel@go2 \
    --to=ebi7@ozob.net \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.