logo       

Re: A non-blocking hci_inquiry: msg#00203

Subject: Re: A non-blocking hci_inquiry

You can run it in a seperate thread if this is an option for you.  Try man pthread_create for more info...

Regards,
Scott






Edd Dumbill <edd@xxxxxxxxxxxxx>
Sent by: bluez-users-admin@xxxxxxxxxxxxxxxxxxxxx

10/30/2003 08:50 PM

       
        To:        BlueZ Users List <bluez-users@xxxxxxxxxxxxxxxxxxxxx>
        cc:        
        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

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