Reactive Bluetooth Low Energy Framework for iOS  1
RBTMutableDescriptor.h
Go to the documentation of this file.
1 //
2 // Created by Martin Stöber
3 // Copyright (c) 2014-2015 ma design GmbH & Co. KG. All rights reserved.
4 //
5 
6 #import <Foundation/Foundation.h>
7 #import <CoreBluetooth/CoreBluetooth.h>
8 
10 
11 
12 @interface RBTMutableDescriptor : NSObject
13 
15 @property(weak, nonatomic) RBTMutableCharacteristic *characteristic;
16 
18 @property(nonatomic, readonly) CBMutableDescriptor *cbDescriptor;
19 
21 @property(nonatomic, readonly) CBUUID *UUID;
22 
24 @property(nonatomic, readonly) id value;
25 
27 @property(nonatomic, readonly, getter=isPublished) BOOL published;
28 
29 
36 - (instancetype)initWithUUID:(CBUUID *)UUID value:(id)value;
37 
38 @end
RBTMutableCharacteristic * characteristic
Parrent characteristic, will be available after the characteristic is added to a service.
Definition: RBTMutableDescriptor.h:15
BOOL published
Flag whether the descriptor was added to a characteristic an published to a peripheral module...
Definition: RBTMutableDescriptor.h:27
id value
Value of this descriptor.
Definition: RBTMutableDescriptor.h:24
Definition: RBTMutableDescriptor.h:12
CBMutableDescriptor * cbDescriptor
CoreBluetooth descriptor.
Definition: RBTMutableDescriptor.h:18
Definition: RBTMutableCharacteristic.h:15
CBUUID * UUID
Unique identifier of this descriptor.
Definition: RBTMutableDescriptor.h:21