Reactive Bluetooth Low Energy Framework for iOS  1
RBTCentralModule Class Reference

#import <RBTCentralModule.h>

Inheritance diagram for RBTCentralModule:

Instance Methods

(RACSignal *) - scan
 Start scanning, signal send found peripherals. More...
 
(RACSignal *) - scanWithDuplicates:
 Start scanning and allow duplicates, signal send found peripherals. More...
 
(RACSignal *) - scanForPeripheralsWithServices:
 Start scanning for peripherals with the given service-UUIDs, signal send found peripherals. More...
 
(RACSignal *) - scanWithMaxRSSI:
 Scan with peripherals, which have a lower RSSI as given, signal send found peripherals. More...
 
(RACSignal *) - scanWithDuplicatesAndMaxRSSI:
 Scan with peripherals, which have a lower RSSI as given and allow duplicates, signal send found peripherals. More...
 
(RACSignal *) - scanForPeripheralsWithServices:forTimeinterval:withDuplicates:maxRSSI:
 Start scanning for peripherals with the given service-UUIDs for a given timeinterval and max RSSI, signal send found peripherals. More...
 
(void) - stopScan
 Stop scanning. More...
 
(RACSequence *) - retrieveConnectedPeripherals
 Retives a sequence with all current connected peripherals. More...
 
(RACSequence *) - retrieveDeviceConnectedPeripheralsWithServices:
 
(RACSequence *) - retrieveKnownPeripheralsWithIdentifiers:
 Retives a sequence with all current known peripherals to this central instance. More...
 

Properties

CBCentralManager * cbCentralManager
 CoreBluetooth manager. More...
 
RACSignal * bluetoothState
 
RACSignal * scanState
 Signal which is send when the cental is scanning. More...
 
BOOL scanning
 Scanstate as boolean (true -> scanning) More...
 
RACSignal * peripheralConnected
 Signal which is send when a peripheral did connect. More...
 
RACSignal * peripheralDisconnected
 Signal which is send when a peripheral did disconnect. More...
 
RACSignal * peripheralConnectedSignal
 
RACSignal * peripheralDisconnectedSignal
 
RACSignal * peripheralConnectionFailedSignal
 

Method Documentation

- (RACSequence *) retrieveConnectedPeripherals

Retives a sequence with all current connected peripherals.

- (RACSequence *) retrieveDeviceConnectedPeripheralsWithServices: (NSArray *)  serviceUUIDs

Retives a sequence with all current connected peripherals to this device. You must call connect if the peripheral is not connected to this central instance.

- (RACSequence *) retrieveKnownPeripheralsWithIdentifiers: (NSArray *)  identifiers

Retives a sequence with all current known peripherals to this central instance.

- (RACSignal *) scan

Start scanning, signal send found peripherals.

- (RACSignal *) scanForPeripheralsWithServices: (NSArray *)  services

Start scanning for peripherals with the given service-UUIDs, signal send found peripherals.

- (RACSignal *) scanForPeripheralsWithServices: (NSArray *)  services
forTimeinterval: (NSTimeInterval)  time
withDuplicates: (BOOL)  allowDuplicates
maxRSSI: (NSNumber *)  maxRSSI 

Start scanning for peripherals with the given service-UUIDs for a given timeinterval and max RSSI, signal send found peripherals.

- (RACSignal *) scanWithDuplicates: (BOOL)  allowDuplicates

Start scanning and allow duplicates, signal send found peripherals.

- (RACSignal *) scanWithDuplicatesAndMaxRSSI: (NSNumber *)  maxRSSI

Scan with peripherals, which have a lower RSSI as given and allow duplicates, signal send found peripherals.

- (RACSignal *) scanWithMaxRSSI: (NSNumber *)  RSSI

Scan with peripherals, which have a lower RSSI as given, signal send found peripherals.

- (void) stopScan

Stop scanning.

Property Documentation

- (RACSignal*) bluetoothState
readnonatomicassign
- (CBCentralManager*) cbCentralManager
readnonatomicassign

CoreBluetooth manager.

- (RACSignal*) peripheralConnected
readnonatomicassign

Signal which is send when a peripheral did connect.

- (RACSignal*) peripheralConnectedSignal
readwritenonatomicassign

Provided by category RBTCentralModule(Protected).

- (RACSignal*) peripheralConnectionFailedSignal
readwritenonatomicassign

Provided by category RBTCentralModule(Protected).

- (RACSignal*) peripheralDisconnected
readnonatomicassign

Signal which is send when a peripheral did disconnect.

- (RACSignal*) peripheralDisconnectedSignal
readwritenonatomicassign

Provided by category RBTCentralModule(Protected).

- (BOOL) scanning
readatomicassign

Scanstate as boolean (true -> scanning)

- (RACSignal*) scanState
readnonatomicassign

Signal which is send when the cental is scanning.


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