6 #import <Foundation/Foundation.h>
7 #import <CoreBluetooth/CoreBluetooth.h>
8 #import <ReactiveCocoa/ReactiveCocoa.h>
9 #import <ReactiveCocoa/RACEXTScope.h>
21 @property(nonatomic, readonly) RACSignal *
scanState;
24 @property(readonly, getter=isScanning) BOOL
scanning;
37 - (RACSignal *)scanWithDuplicates:(BOOL)allowDuplicates;
40 - (RACSignal *)scanForPeripheralsWithServices:(NSArray *)services;
43 - (RACSignal *)scanWithMaxRSSI:(NSNumber *)RSSI;
46 - (RACSignal *)scanWithDuplicatesAndMaxRSSI:(NSNumber *)maxRSSI;
49 - (RACSignal *)scanForPeripheralsWithServices:(NSArray *)services forTimeinterval:(NSTimeInterval)time
50 withDuplicates:(BOOL)allowDuplicates maxRSSI:(NSNumber *)maxRSSI;
61 - (RACSequence *)retrieveDeviceConnectedPeripheralsWithServices:(NSArray *)serviceUUIDs;
64 - (RACSequence *)retrieveKnownPeripheralsWithIdentifiers:(NSArray *)identifiers;
RACSignal * scan()
Start scanning, signal send found peripherals.
Definition: RBTCentralModule.m:78
RACSequence * retrieveConnectedPeripherals()
Retives a sequence with all current connected peripherals.
Definition: RBTCentralModule.m:125
RACSignal * peripheralConnected
Signal which is send when a peripheral did connect.
Definition: RBTCentralModule.h:27
void stopScan()
Stop scanning.
Definition: RBTCentralModule.m:120
Definition: RBTCentralModule.h:12
RACSignal * bluetoothState
Definition: RBTCentralModule.h:18
CBCentralManager * cbCentralManager
CoreBluetooth manager.
Definition: RBTCentralModule.h:15
BOOL scanning
Scanstate as boolean (true -> scanning)
Definition: RBTCentralModule.h:24
RACSignal * scanState
Signal which is send when the cental is scanning.
Definition: RBTCentralModule.h:21
RACSignal * peripheralDisconnected
Signal which is send when a peripheral did disconnect.
Definition: RBTCentralModule.h:30