Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [PATCH] Changes to Inquiry D-BUS method
Date: Tue, 18 Oct 2005 19:34:18 +0200	[thread overview]
Message-ID: <1129656858.10721.42.camel@localhost.localdomain> (raw)
In-Reply-To: <20051017195943.GA5200@localhost.localdomain>

Hi Johan,

> A major problem with the current Inquiry D-BUS method implementation is
> that it blocks while the inquiry is in progress. What this means is that
> e.g. InquiryResult signals aren't sent until the inquiry process
> finishes.
> 
> I think that the easiest and cleanest way to solve this is to not return
> the inquiry results in the D-BUS method return, but have the user listen
> to the InquiryResult signals that hcid already emmits. The attached
> patch does this change.

the patch is applied and this is how this should work. We maybe need an
extra method to get the inquiry cache or a list of previous seen
devices.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-10-18 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 19:59 [Bluez-devel] [PATCH] Changes to Inquiry D-BUS method Johan Hedberg
2005-10-18 17:34 ` 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=1129656858.10721.42.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox