IOBluetoothDevice
An instance of IOBluetoothDevice represents a single remote Bluetooth device.
Declaration
class IOBluetoothDeviceOverview
An IOBluetoothDevice object may exist independent of the existence of a baseband connection with the target device. Using this object, a client can request creation and destruction of baseband connections, and request the opening of L2CAP and RFCOMM channels on the remote device. Many of the other APIs in the IOBluetooth framework will return this object, or it’s C counterpart (IOBluetoothDeviceRef).
Topics
Initializers
Instance Properties
addressStringclassOfDeviceconnectionHandledeviceClassMajordeviceClassMinorisHandsFreeAudioGatewayisHandsFreeDevicelastNameUpdatenamenameOrAddressserviceClassMajorservices
Instance Methods
addToFavorites()awakeAfter(using:)closeConnection()getAddress()getClockOffset()getEncryptionMode()getLastInquiryUpdate()getLastServicesUpdate()getLinkType()getPageScanMode()getPageScanPeriodMode()getPageScanRepetitionMode()getServiceRecord(for:)handsFreeAudioGatewayServiceRecord()handsFreeDeviceServiceRecord()isConnected()isFavorite()isIncoming()isPaired()openConnection()openConnection(_:)openConnection(_:withPageTimeout:authenticationRequired:)openL2CAPChannelAsync(_:withPSM:delegate:)openL2CAPChannelAsync(_:withPSM:withConfiguration:delegate:)openL2CAPChannelSync(_:withPSM:delegate:)openL2CAPChannelSync(_:withPSM:withConfiguration:delegate:)openRFCOMMChannelAsync(_:withChannelID:delegate:)openRFCOMMChannelSync(_:withChannelID:delegate:)performSDPQuery(_:)performSDPQuery(_:uuids:)rawRSSI()recentAccessDate()register(forDisconnectNotification:selector:)remoteNameRequest(_:)remoteNameRequest(_:withPageTimeout:)removeFromFavorites()requestAuthentication()rssi()sendL2CAPEchoRequest(_:length:)setSupervisionTimeout(_:)
Type Methods
See Also
Classes
IOBluetoothDeviceInquiryIOBluetoothDevicePairIOBluetoothDeviceRefIOBluetoothHandsFreeIOBluetoothHandsFreeAudioGatewayIOBluetoothHandsFreeDeviceIOBluetoothHostControllerIOBluetoothL2CAPChannelIOBluetoothL2CAPChannelRefIOBluetoothOBEXSessionIOBluetoothObjectIOBluetoothObjectRefIOBluetoothRFCOMMChannelIOBluetoothRFCOMMChannelRefIOBluetoothSDPDataElement