Re: Simple Bluetooth Questions: Help!
Re: Simple Bluetooth Questions: Help!
- Subject: Re: Simple Bluetooth Questions: Help!
- From: Eric Brown <email@hidden>
- Date: Fri, 30 Sep 2005 14:20:23 -0700
On Sep 30, 2005, at 11:31 AM, Eric Brown wrote:
On Sep 30, 2005, at 9:58 AM, email@hidden wrote:
Eric Brown wrote on 09/29/2005 06:25:35 PM:
> On Sep 29, 2005, at 8:34 AM, Joseph Kelly wrote:
[ snip ]
> > (3) How do I enumerate devices without the UI in absence of
> > IOBluetoothDeviceInquiry?
>
> IOBlueotothDeviceInquiry is the only mechanism for performing
> inquiries. Is there something specific you're trying to do?
I read in the documentation that IOBluetoothDeviceInquiry was
introduced in 10.4. Does this mean that a program that uses
IOBluetoothDeviceInquiry will only run on 10.4?
Correct... there is no public Inquiry API before 10.4.
Also, is there a C API available for this class, or only the ObjC
API?
Yes... take a look at the functions staring with
"IOBluetoothDeviceInquiry" in IOBluetoothUserLib.h (that's where
the C API resides).
It looks like I spoke a little prematurely. Due to an oversight on
our part, the C version of the inquiry API was not included in the
10.4 release. It will be included in the next major software update
(10.4.3). Sorry about the confusion. For now you will have to use
the objc API for inquiries.
- Eric
_______________________________________________
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