site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KnWV+6PGKZfxXKUrmunjR+pGe7SKWHwsrbhoMtVC8jdpirijCUtpvHsya5Re3qDx73VU+d2/bVU29MZ8+is5jJeLq5yxPlgWMXkWLpQZBnWgyJCvAcpiopiatKT8L8fXMAJfGLRrbNa/ZuU7ODqlFOTp7DCLHn9spEvZUUprWGQ= Hey Everyone, I am trying to use the deviceinquiry class from the bluetooth framework so I can discover devices and the reason I don't use the GUI is because I need to be able to select multiple devices. So my code is below but I am not too sure if it is the right way of using the class. When I go through in the debugger nothing seems to change or be set with the palmSizedDevice variable. Also I am not too sure on how to check if the inquiry has completed. The api says I should use the delegate methods and well I am not even sure that everything is setup properly. I have tried looking for examples on this but I can't find anything. Kinda frustrating. But below is my code and I am pretty sure I am missing something. IOBluetoothDeviceInquiry * palmSizedDevices; id discoverDelegate; IOReturn isFoundDevices; palmSizedDevices = [IOBluetoothDeviceInquiry inquiryWithDelegate: discoverDelegate]; //initilize the search object palmSizedDevices = [palmSizedDevices initWithDelegate: discoverDelegate]; //start search isFoundDevices = [palmSizedDevices start]; As always thanks in advance, Landon _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com