This class is a representation of a Bluetooth Host Controller Interface that is present on the local computer (either plugged in externally or available internally).


class IOBluetoothHostController : NSObject


This object can be used to ask a Bluetooth HCI for certain pieces of information, and be used to make it perform certain functions.


Instance Properties

Instance Methods

func addressAsString() -> String!

Convience routine to get the HCI controller's Bluetooth address as an NSString object.

func classOfDevice() -> BluetoothClassOfDevice

Gets the current class of device value.

func nameAsString() -> String!

Gets the "friendly" name of HCI controller.

func setClassOfDevice(BluetoothClassOfDevice, forTimeInterval: TimeInterval) -> IOReturn

Sets the current class of device value, for the specified amount of time. Note that the time interval *must* be set and valid. The range of acceptable values is 30-120 seconds. Anything above or below will be rounded up, or down, as appropriate.

Type Methods

class func `default`() -> Self!

Gets the default HCI controller object.


Inherits From

Conforms To