An object that scans for, discovers, connects to, and manages peripherals.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Bluetooth
CBCentral objects manage discovered or connected remote peripheral devices (represented by
CBPeripheral objects), including scanning for, discovering, and connecting to advertising peripherals.
Before calling the
CBCentral methods, set the state of the central manager object to powered on, as indicated by the
CBCentral constant. This state indicates that the central device (your iPhone or iPad, for instance) supports Bluetooth low energy and that Bluetooth is on and available for use.