Re: IOBluetooth questions
Re: IOBluetooth questions
- Subject: Re: IOBluetooth questions
- From: Rowan <email@hidden>
- Date: Thu, 22 Jul 2004 21:12:30 +0100
Romeo, the remote control application for Bluetooth, is distributed
under GPL. It should have source available, although I haven't looked
at it myself.
The Romeo source is available via the sourceforge CVS; however, that
unfortunately won't help much in this case. When I first started
writing Romeo I had huge instability whilst using the objective-c
calls, so I switched to the c calls. I'm planning to switch over soon,
but am currently busy on a couple of other projects...
In addition, AFAIK there is no way to do device discovery without using
the GUI functions as the device discovery APIs are not exposed.
However, apple are opening this up; here follows a post from Bubba
Giles on the bluetooth-dev list:
email@hidden
This API will be available in Tiger. If you have access to a developer
seed
of Tiger, you can start using it now. It is available in the form of an
IOBluetoothDeviceInquiry object. The relevant file should be here:
/System/Library/Frameworks/IOBluetooth.framework/Headers/objc/
IOBluetoothDeviceInquiry.h
Yann's idea of selecting from a list of paired devices is a great one,
as it means you could get around the GUI issue. However, based on what
you want to do, it might well be easier to use the GUI functions
provided in the setup stage, store the id and then perform all future
processes in your daemon mode.
Note there is the great bluetooth-dev list available on Apple's list
site; well-watched by the Apple bluetooth guys who can offer solutions
to any thorny problems you come across.
Cheers,
--Rowan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.