#import <RBTMutableCharacteristic.h>
Add a descriptor to this characteristic.
- (instancetype) initWithUUID: |
|
(CBUUID *) |
UUID |
properties: |
|
(CBCharacteristicProperties) |
properties |
value: |
|
(NSData *) |
value |
permissions: |
|
(CBAttributePermissions) |
permissions |
|
|
| |
Create a new characteristic to publish to a peripheral module. If you want a dynamic value you must pass nil to value.
- (BOOL) notifySubscribedCentrals |
|
|
|
Sends an updated characteristic value to one or more centrals, via a notification or indication. CBCharacteristicPropertyIndicate or CBCharacteristicPropertyNotify must be set to the properties. Returns YES when successful, NO when the not e.g. due a full queue.
Remove a descriptor from this characteristic.
- (CBMutableCharacteristic*) cbCharacteristic |
|
readnonatomicassign |
CoreBluetooth characteristic.
Delegate to handle read/write requests. Standard handling will be used if not set.
- (NSArray *) descriptors |
|
readwriteatomic |
Descriptors of the characteristic.
- (CBAttributePermissions) permissions |
|
readwritenonatomicassign |
Permissons of access of this characteristic.
- (CBCharacteristicProperties) properties |
|
readwritenonatomicassign |
Properties of the characteristics.
Flag whether the characteristic was added to a service an published to a peripheral module.
Parrent service, will be available after the characteristic is added to a service.
Identifier of the characteristic.
Current value of the characteristic.
The documentation for this class was generated from the following files: