Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CBCharacteristicMBS 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 class for a service characteristic.
Notes:
CBCharacteristic and its subclass CBMutableCharacteristic represent further information about a peripheral’s service. CBCharacteristic objects in particular represent the characteristics of a remote peripheral’s service (remote peripheral devices are represented by CBPeripheral objects). A characteristic contains a single value and any number of descriptors describing that value. The properties of a characteristic determine how the value of the characteristic can be used and how the descriptors can be accessed.
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

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

Sub classes:

Some methods using this class:

Some properties using for 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.


CBCentralMBS   -   CBDescriptorMBS





Links
MBS FileMaker blog