Mac Developer Library

Developer

Bluetooth.h Reference

Options
Deployment Target:

On This Page
Language:

Bluetooth.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import IOBluetooth

Objective-C

@import IOBluetooth;

Bluetooth wireless technology

Included Headers

  • <IOKit/bluetooth/BluetoothAssignedNumbers.h>

  • <CoreFoundation/CFBase.h>

  • <IOBluetooth/BluetoothAssignedNumbers.h>

  • <IOKit/IOTypes.h>

  • <libkern/OSByteOrder.h>

Constants

See the Overview section above for header-level documentation.

  • Bluetooth USB device matching constants

    Declaration

    Swift

    var kBluetoothHCITransportUSBClassCode: Int { get } var kBluetoothHCITransportUSBSubClassCode: Int { get } var kBluetoothHCITransportUSBProtocolCode: Int { get }

    Objective-C

    enum { kBluetoothHCITransportUSBClassCode = 0xE0, kBluetoothHCITransportUSBSubClassCode = 0x01, kBluetoothHCITransportUSBProtocolCode = 0x01 };

    Constants

    • kBluetoothHCITransportUSBClassCode

      kBluetoothHCITransportUSBClassCode

      Wireless Controller

      Available in OS X v10.6 and later.

    • kBluetoothHCITransportUSBSubClassCode

      kBluetoothHCITransportUSBSubClassCode

      RF Controller

      Available in OS X v10.6 and later.

    • kBluetoothHCITransportUSBProtocolCode

      kBluetoothHCITransportUSBProtocolCode

      Bluetooth Programming

      Available in OS X v10.6 and later.