IOBluetoothUserLib.h

Public Interfaces for Apple's implementation of Bluetooth technology.

Overview

There is an accompanying header to this, "Bluetooth.h", which contains all technology-specific typedefs and information. This header relies heavily on it.

Included Headers

  • <IOKit/IOKitLib.h>

  • <CoreFoundation/CFMachPort.h>

  • <IOBluetooth/Bluetooth.h>

  • <Foundation/Foundation.h>

Topics

Miscellaneous

IOBluetoothDeviceRegisterForDisconnectNotification

Allows a client to register for device disconnect notification.

IOBluetoothGetObjectIDFromArguments

Returns the BluetoothObjectID passed as an argument to an auto-launched app.

Deprecated
IOBluetoothIgnoreHIDDevice

Hints that the macOS Bluetooth software should ignore a HID device that connects up.

IOBluetoothL2CAPChannelRegisterForChannelCloseNotification

Allows a client to register for a channel close notification.

IOBluetoothRegisterForDeviceConnectNotifications

Allows a client to register for device connect notifications for any connection.

IOBluetoothRegisterForFilteredL2CAPChannelOpenNotifications

Allows a client to register for L2CAP channel open notifications for certain types of L2CAP channels.

IOBluetoothRegisterForFilteredRFCOMMChannelOpenNotifications

Allows a client to register for RFCOMM channel open notifications for certain types of RFCOMM channels.

IOBluetoothRegisterForL2CAPChannelOpenNotifications

Allows a client to register for L2CAP channel open notifications for any L2CAP channel.

IOBluetoothRegisterForRFCOMMChannelOpenNotifications

Allows a client to register for RFCOMM channel open notifications for any RFCOMM channel.

IOBluetoothRemoveIgnoredHIDDevice

The counterpart to the above IOBluetoothIgnoreHIDDevice() API.

IOBluetoothRFCOMMChannelRegisterForChannelCloseNotification

Allows a client to register for a channel close notification.

IOBluetoothUserNotificationUnregister

Unregisters the target notification.

Callbacks

See the Overview for header-level documentation.

IOBluetoothUserNotificationCallback

Callback function definition for user notifications.

Data Types

See the Overview for header-level documentation.

IOBluetoothDeviceSearchAttributes

Structure used to search for particular devices.

IOBluetoothDeviceSearchDeviceAttributes

Structure used to search for particular devices.

Constants

See the Overview for header-level documentation.

IOBluetoothDeviceSearchDeviceAttributes

Bits to determine what Bluetooth devices to search for

IOBluetoothDeviceSearchTypesBits

Bits to determine what Bluetooth devices to search for