Re: IOServiceMatching
Re: IOServiceMatching
- Subject: Re: IOServiceMatching
- From: Robert Grant <email@hidden>
- Date: Mon, 20 Jan 2003 13:12:29 -0500
Hi Eric,
Thanks for the pointers I guess I wasn't looking hard enough. It does
look a lot
easier than the IOKit APIs... any chance of expanding your approach to
cover the USB
and FireWire devices? ;-)
Thanks,
Robert.
On Sunday, January 19, 2003, at 09:18 PM, Eric Brown wrote:
On Sunday, January 19, 2003, at 11:48 AM, Robert Grant wrote:
If I wanted to detect the coming and going of Bluetooth devices I
imagine I can
use IOServiceMatching? But what would be the IO class name?
I'm guessing: "IOBluetoothDevice"?
And how about the PlugInInterface?
Instead of using the raw IOKit APIs for device access, we've provided
a more object-oriented wrapper around them with (hopefully) easier to
use functions and ObjC objects to access the various Bluetooth layers.
To find out about any device (i.e. baseband connection) coming and
going, use IOBluetoothRegisterForDeviceConnectNotifications() or
+[IOBluetoothDevice registerForConnectNotifications:selector:].
I've got the December developer tools but I don't seem to have the
Bluetooth Framework. Isn't it included?
All of the user-land Bluetooth APIs are in the IOBluetooth.framework
in /System/Library/Frameworks. Have a look at either
IOBluetoothUserLib.h or objc/IOBluetoothDevice.h.
- Eric
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.