CONNECT
, PUT
, and GET
. Beginning in OS X version 10.4, Apple introduced API that simplifies common OBEX operations found in the object push and file transfer profiles, such as getting and putting file objects on remote devices. This API makes it easy for a developer to create an application that adheres to the requirements of these profiles. Note that if you want to use OBEX for other profiles, however, you probably will still need to rely on the primitive commands provided by the OBEX API. For more information on the new API, see OBEXFileTransferServices Class and Objects in OBEX Connections.IOBluetooth.framework
IOBluetoothUI.framework
/System/Library/Frameworks
and each has a specific target. IOBluetoothDeviceRef
variable. l2capChannelOpenComplete:status:
is equivalent to the C event type kIOBluetoothL2CAPChannelEventTypeOpenComplete
.PUT
and GET
primitives in the OBEX API. Using a valid IOBluetoothOBEXSession object, you create an OBEXFileTransferServices object which you can use to perform FTP or object push operations.ObjectNameRef
.setDelegate:
method that allows a client to register itself as a client of the L2CAP channel.plist
) file. You can then import this file into your application, using the IOBluetoothAddServiceDict
function to create a new IOBluetoothSDPServiceRecord object. The IOBluetoothAddServiceDict
function uses the properties in your plist
file to populate the IOBluetoothSDPServiceRecord’s NSDictionary of service attributes. For more information on how to do this, see Providing a New Service.IOBluetoothServiceBrowserControllerRef
IOBluetoothDeviceSelectorControllerRef
IOBluetoothPairingControllerRef