CBDescriptor and it subclass
CBMutable represent a descriptor of a peripheral’s characteristic.
CBDescriptor objects in particular represent the descriptors of a remote peripheral’s characteristic (remote peripheral devices are represented by
CBPeripheral objects). Descriptors provide further information about a characteristic’s value. For example, they may describe the value in human-readable form and describe how the value should be formatted for presentation purposes. Characteristic descriptors also indicate whether a characteristic’s value is configured on a server (a peripheral) to indicate or notify a client (a central) when the value of the characteristic changes.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Bluetooth
There are six predefined types of descriptors that—along with their corresponding value types—are detailed in
CBDescriptor lists the predefined types of descriptors and the
CBUUID constants that are used to represent them.
Characteristic extended properties
Characteristic user description
Client characteristic configuration
Server characteristic configuration
Characteristic aggregate format