---
title: CBPeripheralState
framework: corebluetooth
role: symbol
role_heading: Enumeration
path: corebluetooth/cbperipheralstate
---

# CBPeripheralState

Values representing the connection state of a peripheral.

## Declaration

```swift
enum CBPeripheralState
```

## Topics

### Peripheral States

- [CBPeripheralState.disconnected](corebluetooth/cbperipheralstate/disconnected.md)
- [CBPeripheralState.connecting](corebluetooth/cbperipheralstate/connecting.md)
- [CBPeripheralState.connected](corebluetooth/cbperipheralstate/connected.md)
- [CBPeripheralState.disconnecting](corebluetooth/cbperipheralstate/disconnecting.md)

### Initializers

- [init(rawValue:)](corebluetooth/cbperipheralstate/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Monitoring a Peripheral’s Connection State

- [state](corebluetooth/cbperipheral/state.md)
- [canSendWriteWithoutResponse](corebluetooth/cbperipheral/cansendwritewithoutresponse.md)
