---
title: device
framework: IOBluetooth
role: symbol
role_heading: Instance Property
path: iobluetooth/iobluetoothl2capchannel/device
---

# device

Returns the IOBluetoothDevice to which the target L2CAP channel is open.

## Declaration

```swift
var device: IOBluetoothDevice! { get }
```
