---
title: IOBluetoothDevice
framework: IOBluetooth
role: symbol
role_heading: Class
path: iobluetooth/iobluetoothdevice
---

# IOBluetoothDevice

An instance of IOBluetoothDevice represents a single remote Bluetooth device.

## Declaration

```swift
class IOBluetoothDevice
```

## Overview

Overview 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

- [init(address:)](iobluetooth/iobluetoothdevice/init(address:).md)
- [init(addressString:)](iobluetooth/iobluetoothdevice/init(addressstring:).md)
- [init(coder:)](iobluetooth/iobluetoothdevice/init(coder:).md)

### Instance Properties

- [addressString](iobluetooth/iobluetoothdevice/addressstring.md)
- [classOfDevice](iobluetooth/iobluetoothdevice/classofdevice.md)
- [connectionHandle](iobluetooth/iobluetoothdevice/connectionhandle.md)
- [deviceClassMajor](iobluetooth/iobluetoothdevice/deviceclassmajor.md)
- [deviceClassMinor](iobluetooth/iobluetoothdevice/deviceclassminor.md)
- [isHandsFreeAudioGateway](iobluetooth/iobluetoothdevice/ishandsfreeaudiogateway.md)
- [isHandsFreeDevice](iobluetooth/iobluetoothdevice/ishandsfreedevice.md)
- [lastNameUpdate](iobluetooth/iobluetoothdevice/lastnameupdate.md)
- [name](iobluetooth/iobluetoothdevice/name.md)
- [nameOrAddress](iobluetooth/iobluetoothdevice/nameoraddress.md)
- [serviceClassMajor](iobluetooth/iobluetoothdevice/serviceclassmajor.md)
- [services](iobluetooth/iobluetoothdevice/services.md)

### Instance Methods

- [addToFavorites()](iobluetooth/iobluetoothdevice/addtofavorites().md)
- [awakeAfter(using:)](iobluetooth/iobluetoothdevice/awakeafter(using:).md)
- [closeConnection()](iobluetooth/iobluetoothdevice/closeconnection().md)
- [getAddress()](iobluetooth/iobluetoothdevice/getaddress().md)
- [getClockOffset()](iobluetooth/iobluetoothdevice/getclockoffset().md)
- [getEncryptionMode()](iobluetooth/iobluetoothdevice/getencryptionmode().md)
- [getLastInquiryUpdate()](iobluetooth/iobluetoothdevice/getlastinquiryupdate().md)
- [getLastServicesUpdate()](iobluetooth/iobluetoothdevice/getlastservicesupdate().md)
- [getLinkType()](iobluetooth/iobluetoothdevice/getlinktype().md)
- [getPageScanMode()](iobluetooth/iobluetoothdevice/getpagescanmode().md)
- [getPageScanPeriodMode()](iobluetooth/iobluetoothdevice/getpagescanperiodmode().md)
- [getPageScanRepetitionMode()](iobluetooth/iobluetoothdevice/getpagescanrepetitionmode().md)
- [getServiceRecord(for:)](iobluetooth/iobluetoothdevice/getservicerecord(for:).md)
- [handsFreeAudioGatewayServiceRecord()](iobluetooth/iobluetoothdevice/handsfreeaudiogatewayservicerecord().md)
- [handsFreeDeviceServiceRecord()](iobluetooth/iobluetoothdevice/handsfreedeviceservicerecord().md)
- [isConnected()](iobluetooth/iobluetoothdevice/isconnected().md)
- [isFavorite()](iobluetooth/iobluetoothdevice/isfavorite().md)
- [isIncoming()](iobluetooth/iobluetoothdevice/isincoming().md)
- [isPaired()](iobluetooth/iobluetoothdevice/ispaired().md)
- [openConnection()](iobluetooth/iobluetoothdevice/openconnection().md)
- [openConnection(_:)](iobluetooth/iobluetoothdevice/openconnection(_:).md)
- [openConnection(_:withPageTimeout:authenticationRequired:)](iobluetooth/iobluetoothdevice/openconnection(_:withpagetimeout:authenticationrequired:).md)
- [openL2CAPChannelAsync(_:withPSM:delegate:)](iobluetooth/iobluetoothdevice/openl2capchannelasync(_:withpsm:delegate:).md)
- [openL2CAPChannelAsync(_:withPSM:withConfiguration:delegate:)](iobluetooth/iobluetoothdevice/openl2capchannelasync(_:withpsm:withconfiguration:delegate:).md)
- [openL2CAPChannelSync(_:withPSM:delegate:)](iobluetooth/iobluetoothdevice/openl2capchannelsync(_:withpsm:delegate:).md)
- [openL2CAPChannelSync(_:withPSM:withConfiguration:delegate:)](iobluetooth/iobluetoothdevice/openl2capchannelsync(_:withpsm:withconfiguration:delegate:).md)
- [openRFCOMMChannelAsync(_:withChannelID:delegate:)](iobluetooth/iobluetoothdevice/openrfcommchannelasync(_:withchannelid:delegate:).md)
- [openRFCOMMChannelSync(_:withChannelID:delegate:)](iobluetooth/iobluetoothdevice/openrfcommchannelsync(_:withchannelid:delegate:).md)
- [performSDPQuery(_:)](iobluetooth/iobluetoothdevice/performsdpquery(_:).md)
- [performSDPQuery(_:uuids:)](iobluetooth/iobluetoothdevice/performsdpquery(_:uuids:).md)
- [rawRSSI()](iobluetooth/iobluetoothdevice/rawrssi().md)
- [recentAccessDate()](iobluetooth/iobluetoothdevice/recentaccessdate().md)
- [register(forDisconnectNotification:selector:)](iobluetooth/iobluetoothdevice/register(fordisconnectnotification:selector:).md)
- [remoteNameRequest(_:)](iobluetooth/iobluetoothdevice/remotenamerequest(_:).md)
- [remoteNameRequest(_:withPageTimeout:)](iobluetooth/iobluetoothdevice/remotenamerequest(_:withpagetimeout:).md)
- [removeFromFavorites()](iobluetooth/iobluetoothdevice/removefromfavorites().md)
- [requestAuthentication()](iobluetooth/iobluetoothdevice/requestauthentication().md)
- [rssi()](iobluetooth/iobluetoothdevice/rssi().md)
- [sendL2CAPEchoRequest(_:length:)](iobluetooth/iobluetoothdevice/sendl2capechorequest(_:length:).md)
- [setSupervisionTimeout(_:)](iobluetooth/iobluetoothdevice/setsupervisiontimeout(_:).md)

### Type Methods

- [favoriteDevices()](iobluetooth/iobluetoothdevice/favoritedevices().md)
- [pairedDevices()](iobluetooth/iobluetoothdevice/paireddevices().md)
- [recentDevices(_:)](iobluetooth/iobluetoothdevice/recentdevices(_:).md)
- [register(forConnectNotifications:selector:)](iobluetooth/iobluetoothdevice/register(forconnectnotifications:selector:).md)

## Relationships

### Inherits From

- [IOBluetoothObject](iobluetooth/iobluetoothobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Classes

- [IOBluetoothDeviceInquiry](iobluetooth/iobluetoothdeviceinquiry.md)
- [IOBluetoothDevicePair](iobluetooth/iobluetoothdevicepair.md)
- [IOBluetoothDeviceRef](iobluetooth/iobluetoothdeviceref.md)
- [IOBluetoothHandsFree](iobluetooth/iobluetoothhandsfree.md)
- [IOBluetoothHandsFreeAudioGateway](iobluetooth/iobluetoothhandsfreeaudiogateway.md)
- [IOBluetoothHandsFreeDevice](iobluetooth/iobluetoothhandsfreedevice.md)
- [IOBluetoothHostController](iobluetooth/iobluetoothhostcontroller.md)
- [IOBluetoothL2CAPChannel](iobluetooth/iobluetoothl2capchannel.md)
- [IOBluetoothL2CAPChannelRef](iobluetooth/iobluetoothl2capchannelref.md)
- [IOBluetoothOBEXSession](iobluetooth/iobluetoothobexsession.md)
- [IOBluetoothObject](iobluetooth/iobluetoothobject.md)
- [IOBluetoothObjectRef](iobluetooth/iobluetoothobjectref.md)
- [IOBluetoothRFCOMMChannel](iobluetooth/iobluetoothrfcommchannel.md)
- [IOBluetoothRFCOMMChannelRef](iobluetooth/iobluetoothrfcommchannelref.md)
- [IOBluetoothSDPDataElement](iobluetooth/iobluetoothsdpdataelement.md)
