Skip to contentSkip to conversation

check for inquiry

Bluez-devel Mina Shokry 2 participants 2 messages Dec 26, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

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

maintainer
#1 lore raw

Hi Mina,

Quoted 6 lines

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