From: Steven Singer <steven.singer@csr.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Can i get address of device who is doing discovery?
Date: Tue, 15 May 2007 19:51:07 +0100 [thread overview]
Message-ID: <464A011B.3070502@csr.com> (raw)
In-Reply-To: <1179225223.10069.6.camel@violet>
Marcel Holtmann wrote:
> ask the manufacturer of your Bluetooth chip.
If the question is "Can a device in inquiry scan determine the Bluetooth
address of the device performing the inquiry?" then the answer is no.
At the protocol level, the FHS packet goes from the device that's
in inquiry scan (that is, the device that is discoverable) to the device
that's inquiring (that is, the device performing discovery).
The only packet that goes from the inquiring device to the scanning
device is an ID packet using an inquiry access code. This contains no
information about the inquirer.
If the inquirer were to follow up with a remote name request then it
would send its address to the scanning device. This address is not
reported over the HCI interface although, in theory, a modified
controller could report it.
If the inquirer follows up with an SDP lookup then that makes a full
connection up to the host so the scanning device is aware of the
address of the device making the connection.
Rupesh Gujare wrote:
> Actually I want to generate some event from mobile device
> which will give me its address. So that i can start communication with it.
> (without having any software on mobile side).
Typically, the way you do this is to make the phone discoverable
through the usual user interface options. Then your device performs
the discovery and can find out the address of the phone.
- Steven
--
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2007-05-15 18:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 9:47 [Bluez-devel] Can i get address of device who is doing discovery? Rupesh Gujare
2007-05-15 9:58 ` Marcel Holtmann
2007-05-15 10:27 ` Rupesh Gujare
2007-05-15 10:33 ` Marcel Holtmann
2007-05-15 18:51 ` Steven Singer [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=464A011B.3070502@csr.com \
--to=steven.singer@csr.com \
--cc=bluez-devel@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.