public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] How many Read_Remote_Bluetooth_name at the same time?
@ 2007-10-09 10:54 Eng. Waleed S. Al-Rashoud
  2007-10-09 11:55 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Eng. Waleed S. Al-Rashoud @ 2007-10-09 10:54 UTC (permalink / raw)
  To: BlueZ users


[-- Attachment #1.1: Type: text/plain, Size: 211 bytes --]

Dear all,
If I'm gonna search for devices without their names, then request the remote name for each device.. what is the maximum number of concurrent Read_remote_bluetooth_name requests I can handle?
thanks..

[-- Attachment #1.2: Type: text/html, Size: 615 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
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] How many Read_Remote_Bluetooth_name at the same time?
  2007-10-09 10:54 [Bluez-users] How many Read_Remote_Bluetooth_name at the same time? Eng. Waleed S. Al-Rashoud
@ 2007-10-09 11:55 ` Marcel Holtmann
  2007-10-10 22:56   ` [Bluez-users] How many Read_Remote_Bluetooth_name at thesame time? Eng. Waleed S. Al-Rashoud
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-10-09 11:55 UTC (permalink / raw)
  To: BlueZ users

Hi,

> If I'm gonna search for devices without their names, then request the
> remote name for each device.. what is the maximum number of concurrent
> Read_remote_bluetooth_name requests I can handle?

it is exactly one. Every remote name request needs a baseband page and
you can only have one of these at the same time. Otherwise you would
need second radio.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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] How many Read_Remote_Bluetooth_name at thesame time?
  2007-10-09 11:55 ` Marcel Holtmann
@ 2007-10-10 22:56   ` Eng. Waleed S. Al-Rashoud
  2007-10-11  8:29     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Eng. Waleed S. Al-Rashoud @ 2007-10-10 22:56 UTC (permalink / raw)
  To: BlueZ users

Ok, them can I search for devices and get both their names and addresses at 
the same time?
It's strange because when I call the functions myself ( get the devices then 
foreach of them get the name) it takes more time than e.g. Microsoft 
bleutooth stack to find the devices and the names..!
Is there something  I don't understand in here?


----- Original Message ----- 
From: "Marcel Holtmann" <marcel@holtmann.org>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Sent: Tuesday, October 09, 2007 2:55 PM
Subject: Re: [Bluez-users] How many Read_Remote_Bluetooth_name at thesame 
time?


> Hi,
>
>> If I'm gonna search for devices without their names, then request the
>> remote name for each device.. what is the maximum number of concurrent
>> Read_remote_bluetooth_name requests I can handle?
>
> it is exactly one. Every remote name request needs a baseband page and
> you can only have one of these at the same time. Otherwise you would
> need second radio.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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] How many Read_Remote_Bluetooth_name at thesame time?
  2007-10-10 22:56   ` [Bluez-users] How many Read_Remote_Bluetooth_name at thesame time? Eng. Waleed S. Al-Rashoud
@ 2007-10-11  8:29     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-10-11  8:29 UTC (permalink / raw)
  To: BlueZ users

Hi,

> Ok, them can I search for devices and get both their names and addresses at 
> the same time?

if you have Bluetooth 2.1 hardware, then yes, otherwise, no.

> It's strange because when I call the functions myself ( get the devices then 
> foreach of them get the name) it takes more time than e.g. Microsoft 
> bleutooth stack to find the devices and the names..!
> Is there something  I don't understand in here?

Use the D-Bus API for discovery here. It will do the name resolving for
you in the most efficient way. It also caches names for you. Example
code is in the wiki and the bluez-gnome package.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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:[~2007-10-11  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 10:54 [Bluez-users] How many Read_Remote_Bluetooth_name at the same time? Eng. Waleed S. Al-Rashoud
2007-10-09 11:55 ` Marcel Holtmann
2007-10-10 22:56   ` [Bluez-users] How many Read_Remote_Bluetooth_name at thesame time? Eng. Waleed S. Al-Rashoud
2007-10-11  8:29     ` Marcel Holtmann

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