public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] check for inquiry
Date: Wed, 26 Dec 2007 12:43:43 +0100	[thread overview]
Message-ID: <1198669423.29208.19.camel@aeonflux> (raw)
In-Reply-To: <992527.97227.qm@web50206.mail.re2.yahoo.com>

Hi Mina,

> is there a way to check if there is inquiry running by me or any other
> process? also is there a way to cancel a running inquiry through an
> API call (I ask for a method other than issuing the command "hcitool
> cmd 0x01 0x0002")
> 
> I am using APIs declared in hci_lib.h not DBus.

switch to use the D-Bus based API. It will make it a lot easier. The
hci_inquiry() call is blocking and can't handle Inquiry Result with RSSI
or Extended Inquiry Results.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2007-12-26 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26  9:36 [Bluez-devel] check for inquiry Mina Shokry
2007-12-26 11:43 ` 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=1198669423.29208.19.camel@aeonflux \
    --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