CBCentral Class Reference

Inherits from
Conforms to
Availability
Available in iOS 6.0 and later.
Companion guide
Declared in
CBCentral.h
Related sample code

Overview

The CBCentral class represents remote central devices that have connected to an app implementing the peripheral role on a local device. That is, when you are implementing the peripheral role using the CBPeripheralManager class, centrals that connect to your local peripheral are represented as CBCentral objects. Remote centrals are identified by universally unique identifiers (UUIDs), represented by NSUUID objects.

Tasks

Identifying a Remote Central

Properties

identifier

The UUID associated with the central. (read-only)

@property(readonly, nonatomic) NSUUID *identifier
Discussion

The value of this property represents the unique identifier of the central. Centrals are identified by NSUUID UUIDs instead of by the CBUUID objects that identify a peripheral’s services, characteristics, and characteristic descriptors.

Availability
  • Available in iOS 7.0 and later.
Declared In
CBCentral.h

maximumUpdateValueLength

The maximum amount of data, in bytes, that the central can receive in a single notification or indication. (read-only)

@property(readonly, nonatomic) NSUInteger maximumUpdateValueLength
Availability
  • Available in iOS 7.0 and later.
Declared In
CBCentral.h