Class

CBCharacteristic

A characteristic of a remote peripheral’s service.

Declaration

@interface CBCharacteristic : CBAttribute

Overview

CBCharacteristic and its subclass CBMutableCharacteristic represent further information about a peripheral’s service. In particular, CBCharacteristic objects represent the characteristics of a remote peripheral’s service. A characteristic contains a single value and any number of descriptors describing that value. The properties of a characteristic determine how you can use a characteristic’s value, and how you access the descriptors.

Topics

Identifying a Characteristic

service

The service to which this characteristic belongs.

Accessing Characteristic Data

value

The value of the characteristic.

descriptors

A list of the descriptors discovered in this characteristic.

properties

The properties of the characteristic.

CBCharacteristicProperties

Values that represent the possible properties of a characteristic.

isNotifying

A Boolean value that indicates whether the characteristic is currently notifying a subscribed central of its value.

isBroadcasted

A Boolean value that indicates whether the characteristic the service broadcasts this characteristic.

Deprecated

Relationships

Inherits From

See Also

Services

CBService

A collection of data and associated behaviors that accomplish a function or feature of a device.

CBMutableService

A service with writeable property values.

CBMutableCharacteristic

A characteristic of a local peripheral’s service.

CBDescriptor

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

CBMutableDescriptor

An object that provides additional information about a local peripheral’s characteristic.