Re: IOServiceMatching
Re: IOServiceMatching
- Subject: Re: IOServiceMatching
- From: Eric Brown <email@hidden>
- Date: Sun, 19 Jan 2003 18:18:20 -0800
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.