Re: Problems with IOBluetoothDeviceInquiry on Leopard
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com User-agent: www.mail386.com Tav, Remember that you have to use Runloop in order to actually process request. I can't give you an example, because unlike you I use C++. I suggest you to take a look at SDK samples... Regards, Boris
Rehi all,
I've run into some problems with IOBluetoothDeviceInquiry on Leopard. In an attempt to find the nearby bluetooth devices I do the following:
IOBluetoothDeviceInquiry *inquire = [[IOBluetoothDeviceInquiry alloc] init]; [inquire start];
And about 15 seconds later, I look at [inquire foundDevices] which keeps returning an empty array... no matter how long I wait. (In actual fact, I do that within Python through the new bridging support since calling start within Objective-C seems to never return...).
Now, I am new to Obj-C and OS X app development, so it's most likely to be a newbie error and I apologise in advance.
Many thanks for your time and help.
-- love, tav founder and ceo, esp metanational llp
plex:espians/tav | tav@espians.com | +44 (0) 7809 569 369 _______________________________________________ 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/b00mer%40mail386.com
This email sent to b00mer@mail386.com
___________________________________________________________________________ Najhitrejši brezplačni klicni dostop :: Varno in zanesljivo po internetu Obiščite http://www.dialup386.com/ _______________________________________________ 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
participants (1)
-
b00mer@mail386.com