Re: Problems with IOBluetoothDeviceInquiry on Leopard
Re: Problems with IOBluetoothDeviceInquiry on Leopard
- Subject: Re: Problems with IOBluetoothDeviceInquiry on Leopard
- From: email@hidden
- Date: Sat, 10 Nov 2007 12:02:51 +0100
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 | email@hidden | +44 (0) 7809 569 369
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Bluetooth-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
___________________________________________________________________________
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden