Re: non-gui c api
Re: non-gui c api
- Subject: Re: non-gui c api
- From: Bubba Giles <email@hidden>
- Date: Wed, 18 Jan 2006 12:51:48 -0800
- Thread-topic: non-gui c api
Also, unfortunately, it should be noted that the 10.4 implementation was
lacking some important C functions to make inquiries actually usable. So, if
you decide to go with the C API, you will have to require a later version of
10.4, such as 10.4.2. I would recommend using the objective C API if at all
possible, as it should work from 10.4 on.
Jason
> You can use the objective-C apis in a non gui application or shared
> library or in most any other kind of user space executable. The only
> places where I've seen UI appear up in my RFCOMM project is when I
> use the IOBluetoothBluetoothDeviceSelectorController class -- as
> would be expected -- and when I call IOBluetoothDevice's -
> requestAuthentication: method on an unpaired device.
>
> Anyhow, I actually see an IOBluetoothDeviceInquiryRef in the flat C
> headers. Remember that Device Inquiry is an OS 10.4 only feature, and
> your headers or Xcode could be out of date?
>
> Good luck.
>
> joe
>
>
>
>
> On Jan 18, 2006, at 1:42 AM, Miguel Menchu wrote:
>
>> Continuing work on my c code (non gui, IOBluetoothUserLib.h) I
>> tried creating an object of type
>> IOBluetoothDeviceInquiry in order to start an inquire, except
>> that that class is defined for objective-c
>> and not for my non-gui c. I tried appending "ref" to make it
>> IOBluetoothDeviceInquiryRef thinking
>> maybe.... but nothing. Is there a standard re-naming convention I'm
>> not following... ? How can i discover
>> other bluetooth devices using non-gui c api?
>>
>> In case you're wondering, i'm choosing non-gui because i'm hoping
>> to include his in a dashboard widget.
>> Thanks a lot for your help.
>>
>> - Miguel.
> _______________________________________________
> 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
_______________________________________________
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