Values representing the connection state of a peripheral.


enum CBPeripheralState : Int


Peripheral States

case disconnected

The peripheral isn’t connected to the central manager.

case connecting

The peripheral is in the process of connecting to the central manager.

case connected

The peripheral is connected to the central manager.

case disconnecting

The peripheral is disconnecting from the central manager.

See Also

Monitoring a Peripheral’s Connection State

var state: CBPeripheralState

The connection state of the peripheral.

var canSendWriteWithoutResponse: Bool

A Boolean value that indicates whether the remote device can send a write without a response.