in Sources/RxCBCentral/ConnectionManagerType.swift [30:39]
func connectToPeripheral(with services: [CBUUID]?, scanMatcher: ScanMatching?, options: ScanOptions?) -> Observable<RxPeripheral>
/// Convenience function to scan and connect to a peripheral with specified services.
/// Note: only one scan operation per `ConnectionManagerType` is supported at a time.
/// Create your own ScanMatching object to provide custom logic for selecting a peripheral to connect to (ex: device name)
func connectToPeripheral(with services: [CBUUID]?, scanMatcher: ScanMatching?, options: ScanOptions?, scanTimeout: RxTimeInterval) -> Observable<RxPeripheral>
}
/// State of the ConnectionManager.
public enum ConnectionState {