---
title: "openL2CAPChannel(_:)"
framework: corebluetooth
role: symbol
role_heading: Instance Method
path: "corebluetooth/cbperipheral/openl2capchannel(_:)"
---

# openL2CAPChannel(_:)

Attempts to open an L2CAP channel to the peripheral using the supplied Protocol/Service Multiplexer (PSM).

## Declaration

```swift
func openL2CAPChannel(_ PSM: CBL2CAPPSM)
```

## Parameters

- `PSM`: The PSM of the channel to open.

## See Also

### Working with L2CAP Channels

- [CBL2CAPChannel](corebluetooth/cbl2capchannel.md)
- [CBL2CAPPSM](corebluetooth/cbl2cappsm.md)
