CBDescriptor
An object that provides further information about a remote peripheral’s characteristic.
Declaration
class CBDescriptorOverview
CBDescriptor and its subclass CBMutableDescriptor represent a descriptor of a peripheral’s characteristic. In partcular, CBDescriptor objects represent the descriptors of a remote peripheral’s characteristic. Descriptors provide further information about a characteristic’s value. For example, they may describe the value in human-readable form and describe how to format the value for presentation purposes. Characteristic descriptors also indicate whether a characteristic’s value indicates or notifies a client (a central) when the value of the characteristic changes.
CBUUID details six predefined descriptors and their corresponding value types. CBDescriptor lists the predefined descriptors and the CBUUID constants that represent them.
Descriptor type | Descriptor constant |
|---|---|
Characteristic extended properties | |
Characteristic user description | |
Client characteristic configuration | |
Server characteristic configuration | |
Characteristic format | |
Characteristic aggregate format |