---
title: CBL2CAPChannel
framework: corebluetooth
role: symbol
role_heading: Class
path: corebluetooth/cbl2capchannel
---

# CBL2CAPChannel

A live L2CAP connection to a remote device.

## Declaration

```swift
class CBL2CAPChannel
```

## Topics

### Accessing Streams

- [inputStream](corebluetooth/cbl2capchannel/inputstream.md)
- [outputStream](corebluetooth/cbl2capchannel/outputstream.md)

### Accessing the Peer

- [peer](corebluetooth/cbl2capchannel/peer.md)

### Accessing the Protocol/Service Multiplexer

- [psm](corebluetooth/cbl2capchannel/psm.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Working with L2CAP Channels

- [openL2CAPChannel(_:)](corebluetooth/cbperipheral/openl2capchannel(_:).md)
- [CBL2CAPPSM](corebluetooth/cbl2cappsm.md)
