From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <44F33232.8030505@arcor.de> References: <44F33232.8030505@arcor.de> Date: Mon, 28 Aug 2006 23:13:09 +0200 Message-Id: <1156799590.5613.45.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Asynchronous inquiry Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Simon, > Is there a way, to do an asynchronous inquiry. I only know the > hci_inquiry function, which gives you a complete list of the found > devices. For two projects (a GUI and a research project) I would like to > present each device as soon as it has been found. Is it possible to have > some kind of notification each time a device sends the inquiry response > message? (Something like multi-processing / multi-threading)? you can either use the HCI raw socket directly or use the new D-Bus based API. I would propose you use the D-Bus API. An example might follow in the next couple of days in the bluez-gnome CVS repository. Regards Marcel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel