Reactive Bluetooth Low Energy Framework for iOS  1
RBTDescriptor Class Reference

#import <RBTDescriptor.h>

Inheritance diagram for RBTDescriptor:

Instance Methods

(instancetype) - initWithCBDescriptor:ofCharacteristic:
 
(RACSignal *) - readValue
 Retrive the current value of the descriptor. More...
 
(RACSignal *) - writeValue:
 Write data to the descriptor. More...
 

Properties

RBTCharacteristiccharacteristic
 Parrent Characteristic. More...
 
RBTServiceservice
 Parrent Service. More...
 
RBTPeripheralperipheral
 Parrent Peripheral. More...
 
CBDescriptor * cbDescriptor
 Wrapped CoreBluetooth descriptor. More...
 
CBUUID * UUID
 Identifier of the characteristic. More...
 
id value
 Current Value of the descriptor. More...
 

Method Documentation

- (instancetype) initWithCBDescriptor: (CBDescriptor *)  cbDescriptor
ofCharacteristic: (RBTCharacteristic *)  characteristic 

Designated initializer, should not be used manually.

- (RACSignal *) readValue

Retrive the current value of the descriptor.

- (RACSignal *) writeValue: (NSData *)  data

Write data to the descriptor.

Property Documentation

- (CBDescriptor*) cbDescriptor
readnonatomicassign

Wrapped CoreBluetooth descriptor.

- (RBTCharacteristic*) characteristic
readnonatomicweak

Parrent Characteristic.

- (RBTPeripheral*) peripheral
readnonatomicweak

Parrent Peripheral.

- (RBTService*) service
readnonatomicweak

Parrent Service.

- (CBUUID*) UUID
readnonatomicassign

Identifier of the characteristic.

- (id) value
readnonatomicassign

Current Value of the descriptor.


The documentation for this class was generated from the following files: