Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CBDescriptorMBS class

Super class: CBAttributeMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Bluetooth MBS Bluetooth Plugin 18.1 Yes No No Yes, macOS only No
Function: The CoreBluetooth class for a characteristic description.
Notes:
CBDescriptor and it subclass CBMutableDescriptor represent a descriptor of a peripheral’s characteristic. CBDescriptor objects in particular represent the descriptors of a remote peripheral’s characteristic (remote peripheral devices are represented by CBPeripheral objects). Descriptors provide further information about a characteristic’s value. For example, they may describe the value in human-readable form and describe how the value should be formatted for presentation purposes. Characteristic descriptors also indicate whether a characteristic’s value is configured on a server (a peripheral) to indicate or notify a client (a central) when the value of the characteristic changes.

There are six predefined types of descriptors that—along with their corresponding value types—are detailed in CBUUID. CBDescriptor lists the predefined types of descriptors and the CBUUIDMBS constants that are used to represent them.

Descriptor typeDescriptor constant
Characteristic extended propertiesCBUUIDMBS.CBUUIDCharacteristicExtendedPropertiesString
Characteristic user descriptionCBUUIDMBS.CBUUIDCharacteristicUserDescriptionString
Client characteristic configurationCBUUIDMBS.CBUUIDClientCharacteristicConfigurationString
Server characteristic configurationCBUUIDMBS.CBUUIDServerCharacteristicConfigurationString
Characteristic formatCBUUIDMBS.CBUUIDCharacteristicFormatString
Characteristic aggregate formatCBUUIDMBS.CBUUIDCharacteristicAggregateFormatString
Subclass of the CBAttributeMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class CBAttributeMBS

Sub classes:

Some methods using this class:

Some events for this class:

Some examples which use this class:


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


CBCharacteristicMBS   -   CBGroupIdentityMBS




Links
MBS Xojo blog