BLE(Bluetooth Low Energy) Device Should get connected Without Scanning to my iPhone(App).
I have the BLE Address which I'm getting through Scanning the QRCode.
So from there I want the specific device(The one which I passed the address) connected without calling the (manager.scanForPeripherals(withServices: nil) ) As it will bring up all the devices .
For now I'm able to scan the QRCode of my BLE Device and Scan For All The Available devices then when I found my particular device. I'm Stopping the scan and connecting to it by using advertisement Data in
func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber)
Is there a way to connect directly without scanning as I already have the address of the BLE device
Thanks in Advance .Any References would be helpful.
retrievePeripherals
to try and avoid the scan in future. – Paulw11