2007-10-09 10:54:55

by Eng. Waleed Al-Rashoud

[permalink] [raw]
Subject: [Bluez-users] How many Read_Remote_Bluetooth_name at the same time?

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..


Attachments:
(No filename) (314.00 B)
(No filename) (164.00 B)
Download all attachments

2007-10-11 08:29:39

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] How many Read_Remote_Bluetooth_name at thesame time?

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-10-10 22:56:48

by Eng. Waleed Al-Rashoud

[permalink] [raw]
Subject: Re: [Bluez-users] How many Read_Remote_Bluetooth_name at thesame time?

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" <[email protected]>
To: "BlueZ users" <[email protected]>
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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-10-09 11:55:12

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] How many Read_Remote_Bluetooth_name at the same 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users