Platforms to show: All Mac Windows Linux Cross-Platform

CBMutableCharacteristicMBS class

Super class: CBCharacteristicMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Bluetooth MBS Bluetooth Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
CBMutableCharacteristic objects represent the characteristics of a local peripheral’s service (local peripheral devices are represented by CBPeripheralManager objects).

This class adds write access to many of the properties in the CBCharacteristic class it inherits from.

You use this class to create a characteristic and to set its properties and permissions as desired. After you create a characteristic and add it to a local service, you can publish it (and the service) to the peripheral’s local database using the addService method of the CBPeripheralManager class. After you publish a characteristic, the characteristic is cached and you can no longer make changes to it.
Subclass of the CBCharacteristicMBS class.

Permissions Flags

Constant Value Description
kReadable 1 The characteristic’s value has read-only permission.
kReadEncryptionRequired 4 The characteristic’s value is readable only by trusted devices.
kWriteable 2 The characteristic’s value has write-only permission.
kWriteEncryptionRequired 8 The characteristic’s value is writeable only by trusted devices.

Super class CBCharacteristicMBS

Property Constants

Constant Value Description
kPropertyAuthenticatedSignedWrites &h40 Signed writes of the characteristic’s value are permitted, without a response from the peripheral to indicate that the write was successful.
kPropertyBroadcast 1 The characteristic’s value can be broadcast using a characteristic configuration descriptor.
kPropertyExtendedProperties &h80 Additional characteristic properties are defined in the characteristic extended properties descriptor.
kPropertyIndicate &h20 Indications of the characteristic’s value are permitted, with a response from the central to indicate that the indication was received.
kPropertyIndicateEncryptionRequired &h200 Only trusted devices can enable indications of the characteristic’s value.
kPropertyNotify &h10 Notifications of the characteristic’s value are permitted, without a response from the central to indicate that the notification was received.
kPropertyNotifyEncryptionRequired &h100 Only trusted devices can enable notifications of the characteristic’s value.
kPropertyRead 2 The characteristic’s value can be read.
kPropertyWrite 8 The characteristic’s value can be written, with a response from the peripheral to indicate that the write was successful.
kPropertyWriteWithoutResponse 4 The characteristic’s value can be written, without a response from the peripheral to indicate that the write was successful.

Super class CBAttributeMBS

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS Bluetooth Plugin.


CBManagerMBS   -   CBMutableDescriptorMBS


The biggest plugin in space...