Reactive Bluetooth Low Energy Framework for iOS
1
|
#import <RBTMutableService.h>
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 | |
RBTPeripheralModule * | peripheralModule |
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... | |
- (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.
|
readnonatomicassign |
CoreBluetooth service.
|
readwriteatomic |
Related characteristics, witch were added to this service.
|
readwriteatomic |
Related included services, witch were added to this service.
|
readwritenonatomicweak |
Parrent perpheral, will be available after the service was added.
|
readwritenonatomicassign |
Flag whether the service is primary or secondary (related to another service)
|
readnonatomicassign |
Flag whether the services was added and published to a peripheral module.
|
readwritenonatomicassign |
Unique identifier.