logo       

RE: A non-blocking hci_inquiry: msg#00201

Subject: RE: A non-blocking hci_inquiry
It should be possible to simulate an asynchronous discovery with some
kind of background process that does the inquiry and places the results
in a file or something like that -- then another program can pick up the
results from the file. I'm doing something similar within a Java process
and communicate the results through a container object...

There is also larger issue here with how multiple tasks can access the
inquiry results without blocking, which I think would have solutions
similar to making inquiry asynchronous...

        Trevor


-----Original Message-----
From: bluez-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:bluez-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Edd
Dumbill
Sent: Thursday, October 30, 2003 5:50 PM
To: BlueZ Users List
Subject: [Bluez-users] A non-blocking hci_inquiry


Is it possible to perform an inquiry that doesn't block?

The reason I ask is this: for a decent user experience in my GNOME
Bluetooth work I have a remote device chooser dialog, which I want to
immediately display the devices it knows of and then start a background
scan.

Unfortunately there's no way of stopping an inquiry once started, and
the user must then wait until the inquiry end before any other action
can be performed.

Can anyone offer any help?  Or if not, consider this a wishlist item for
a future version.  Being able to do asynchronous scans is very handy for
user interface issues.

thanks

-- Edd




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Bluez-users mailing list
Bluez-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>