public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] check for inquiry
@ 2007-12-26  9:36 Mina Shokry
  2007-12-26 11:43 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mina Shokry @ 2007-12-26  9:36 UTC (permalink / raw)
  To: bluez-devel


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

Hello all,

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.

another question please, where can I find a complete documentation for APIs declared in hci_lib.h (if there any)?

thanks in advance.
 
Mina Shokry,
Sun Certified Java Programmer (SCJP).





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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

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

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

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

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] check for inquiry
  2007-12-26  9:36 [Bluez-devel] check for inquiry Mina Shokry
@ 2007-12-26 11:43 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-12-26 11:43 UTC (permalink / raw)
  To: BlueZ development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-26 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-26  9:36 [Bluez-devel] check for inquiry Mina Shokry
2007-12-26 11:43 ` Marcel Holtmann

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