* [Bluez-devel] Can i get address of device who is doing discovery?
@ 2007-05-15 9:47 Rupesh Gujare
2007-05-15 9:58 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Rupesh Gujare @ 2007-05-15 9:47 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1.1: Type: text/plain, Size: 356 bytes --]
Dear all,
I want to get address of a device who is doing discovery. (while my local
device is responding to discovey) I know that while doing discovery a device
sends a FHS packet which contains its address and clock information.
But i dont know how to hack code to extract its BD Adress.
Your help is greatly appreciated
Thanks and regards
Rupesh
[-- Attachment #1.2: Type: text/html, Size: 412 bytes --]
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Can i get address of device who is doing discovery?
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
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-05-15 9:58 UTC (permalink / raw)
To: BlueZ development
Hi Rupesh,
> I want to get address of a device who is doing discovery. (while my
> local device is responding to discovey) I know that while doing
> discovery a device sends a FHS packet which contains its address and
> clock information.
> But i dont know how to hack code to extract its BD Adress.
it is impossible to do that with the HCI interface.
Regards
Marcel
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Can i get address of device who is doing discovery?
2007-05-15 9:58 ` Marcel Holtmann
@ 2007-05-15 10:27 ` Rupesh Gujare
2007-05-15 10:33 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Rupesh Gujare @ 2007-05-15 10:27 UTC (permalink / raw)
To: BlueZ development
[-- Attachment #1.1: Type: text/plain, Size: 1190 bytes --]
Is there any other way of doing this task?
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).
Regards
Rupesh
On 5/15/07, Marcel Holtmann <marcel@holtmann.org> wrote:
>
> Hi Rupesh,
>
> > I want to get address of a device who is doing discovery. (while my
> > local device is responding to discovey) I know that while doing
> > discovery a device sends a FHS packet which contains its address and
> > clock information.
> > But i dont know how to hack code to extract its BD Adress.
>
> it is impossible to do that with the HCI interface.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 1809 bytes --]
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Can i get address of device who is doing discovery?
2007-05-15 10:27 ` Rupesh Gujare
@ 2007-05-15 10:33 ` Marcel Holtmann
2007-05-15 18:51 ` Steven Singer
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-05-15 10:33 UTC (permalink / raw)
To: BlueZ development
Hi Rupesh,
> Is there any other way of doing this task?
> 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).
ask the manufacturer of your Bluetooth chip.
Regards
Marcel
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Can i get address of device who is doing discovery?
2007-05-15 10:33 ` Marcel Holtmann
@ 2007-05-15 18:51 ` Steven Singer
0 siblings, 0 replies; 5+ messages in thread
From: Steven Singer @ 2007-05-15 18:51 UTC (permalink / raw)
To: BlueZ development
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-15 18:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).