public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] how to obtain address for rfcomm connection
Date: Wed, 19 Jan 2005 18:05:08 +0100	[thread overview]
Message-ID: <1106154308.8190.128.camel@pegasus> (raw)
In-Reply-To: <1106148402.12428.21.camel@justakiss>

Hi Erwin,

> I want to establish a rfcomm connection to a mobile phone. I don't know
> the phone's address or name a-priori. The pairing is initated from the
> phone before the rfcomm connection is initiated. Is there an easy way to
> get the phone's address from the preceding link key exchange (from
> /etc/bluetooth/link_key?). Browsing/scanning for devices might give more
> than one canditate for communication, but I want to use only the one
> that has already paired.

you will find any paired device in the link_key file. However if the
phone was connected then you can use normal technics to get the device
address at the that time. To what service did the phone connect?

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-19 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19 15:26 [Bluez-users] how to obtain address for rfcomm connection Erwin Authried
2005-01-19 17:05 ` Marcel Holtmann [this message]
2005-01-19 20:01   ` Erwin Authried
2005-01-19 20:36     ` Marcel Holtmann

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=1106154308.8190.128.camel@pegasus \
    --to=marcel@holtmann.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox