public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] How many Read_Remote_Bluetooth_name at	thesame	time?
Date: Thu, 11 Oct 2007 10:29:39 +0200	[thread overview]
Message-ID: <1192091379.6537.31.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <84433307AD6F49AAA3B8E5985813AE1F@iMe>

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

      reply	other threads:[~2007-10-11  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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=1192091379.6537.31.camel@aeonflux.holtmann.net \
    --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