Contents

CBDescriptor

An object that provides further information about a remote peripheral’s characteristic.

Declaration

class CBDescriptor

Overview

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

Cbuuidcharacteristicextendedpropertiesstring

Characteristic user description

Cbuuidcharacteristicuserdescriptionstring

Client characteristic configuration

Cbuuidclientcharacteristicconfigurationstring

Server characteristic configuration

Cbuuidservercharacteristicconfigurationstring

Characteristic format

Cbuuidcharacteristicformatstring

Characteristic aggregate format

Cbuuidcharacteristicaggregateformatstring

Topics

Identifying a Descriptor

Accessing Descriptor Data

See Also

Services