---
title: CBConnectPeripheralOptionEnableAutoReconnect
framework: corebluetooth
role: symbol
role_heading: Global Variable
path: corebluetooth/cbconnectperipheraloptionenableautoreconnect
---

# CBConnectPeripheralOptionEnableAutoReconnect

A Boolean value that specifies whether the system automatically reconnects with a peripheral.

## Declaration

```swift
let CBConnectPeripheralOptionEnableAutoReconnect: String
```

## Discussion

Discussion After a peripheral device connects, this setting enables the system to initiate a connection to the peer device automatically when the link drops. The system uses centralManager(_:didDisconnectPeripheral:timestamp:isReconnecting:error:) to notify the caller about the disconnection.

## See Also

### Options

- [CBConnectPeripheralOptionEnableTransportBridgingKey](corebluetooth/cbconnectperipheraloptionenabletransportbridgingkey.md)
- [CBConnectPeripheralOptionNotifyOnConnectionKey](corebluetooth/cbconnectperipheraloptionnotifyonconnectionkey.md)
- [CBConnectPeripheralOptionNotifyOnDisconnectionKey](corebluetooth/cbconnectperipheraloptionnotifyondisconnectionkey.md)
- [CBConnectPeripheralOptionNotifyOnNotificationKey](corebluetooth/cbconnectperipheraloptionnotifyonnotificationkey.md)
- [CBConnectPeripheralOptionRequiresANCS](corebluetooth/cbconnectperipheraloptionrequiresancs.md)
- [CBConnectPeripheralOptionStartDelayKey](corebluetooth/cbconnectperipheraloptionstartdelaykey.md)
