Reactive Bluetooth Low Energy Framework for iOS  1
RBTMutableService Class Reference

#import <RBTMutableService.h>

Inheritance diagram for RBTMutableService:

Instance Methods

(instancetype) - initPrimaryServiceWithUUID:
 Create a new primary service with the given UUID. More...
 
(instancetype) - initWithUUID:primary:
 Create a new primary or a secondary service with the given UUID. More...
 
(void) - addCharacteristic:
 Add a characteristic to this service. More...
 
(void) - addCharacteristics:
 Add characteristics to this service. More...
 
(void) - removeCharacteristic:
 Remove a characteristic from this service. More...
 
(void) - removeCharacteristics:
 Remove characteristics from this service. More...
 
(void) - addIncludedService:
 Add a included service to this service. More...
 
(void) - addIncludedServices:
 Add included services to this service. More...
 
(void) - removeIncludedService:
 Remove a included service from this service. More...
 
(void) - removeIncludedServices:
 Remove included services from this service. More...
 

Properties

RBTPeripheralModuleperipheralModule
 Parrent perpheral, will be available after the service was added. More...
 
CBMutableService * cbService
 CoreBluetooth service. More...
 
CBUUID * UUID
 Unique identifier. More...
 
NSArray * includedServices
 Related included services, witch were added to this service. More...
 
NSArray * characteristics
 Related characteristics, witch were added to this service. More...
 
BOOL primaryService
 Flag whether the service is primary or secondary (related to another service) More...
 
BOOL published
 Flag whether the services was added and published to a peripheral module. More...
 

Method Documentation

- (void) addCharacteristic: (RBTMutableCharacteristic *)  characteristic

Add a characteristic to this service.

- (void) addCharacteristics: (NSArray *)  characteristics

Add characteristics to this service.

- (void) addIncludedService: (RBTMutableService *)  service

Add a included service to this service.

- (void) addIncludedServices: (NSArray *)  includedServices

Add included services to this service.

- (instancetype) initPrimaryServiceWithUUID: (CBUUID *)  UUID

Create a new primary service with the given UUID.

- (instancetype) initWithUUID: (CBUUID *)  UUID
primary: (BOOL)  primary 

Create a new primary or a secondary service with the given UUID.

- (void) removeCharacteristic: (RBTMutableCharacteristic *)  characteristic

Remove a characteristic from this service.

- (void) removeCharacteristics: (NSArray *)  characteristics

Remove characteristics from this service.

- (void) removeIncludedService: (RBTMutableService *)  service

Remove a included service from this service.

- (void) removeIncludedServices: (NSArray *)  includedServices

Remove included services from this service.

Property Documentation

- (CBMutableService*) cbService
readnonatomicassign

CoreBluetooth service.

- (NSArray *) characteristics
readwriteatomic

Related characteristics, witch were added to this service.

- (NSArray *) includedServices
readwriteatomic

Related included services, witch were added to this service.

- (RBTPeripheralModule*) peripheralModule
readwritenonatomicweak

Parrent perpheral, will be available after the service was added.

- (BOOL) primaryService
readwritenonatomicassign

Flag whether the service is primary or secondary (related to another service)

- (BOOL) published
readnonatomicassign

Flag whether the services was added and published to a peripheral module.

- (CBUUID *) UUID
readwritenonatomicassign

Unique identifier.


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