Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Super class: CBCharacteristicMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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.
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. |
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. |
This class has no sub classes.
The items on this page are in the following plugins: MBS Bluetooth Plugin.
CBManagerMBS - CBMutableDescriptorMBS