Am working on corebluetooth framework, I can able to discover and connect with the device if both the BLE is visible. Now i got an issue is am able to discover the device once discovered peripheral was switched off due to some reason now am trying to connect that device using
[centralManager connectPeripheral:activePeripheral options:nil];
this method, but the peripheral not available to connect, so i need to check before connection is peripheral available or not.
Thanks