In Core Bluetooth, after connecting to a device, I turn off the device and the device is disconnected. But when I turn on the device again, there is no didDiscoverPeripher
When you do a scan with scanForPeripheralsWithServices
, it will normally only notify you once for a particular device address. You can change this to report duplicates by specifying the option CBCentralManagerScanOptionAllowDuplicatesKey
. Or you can have your app detect that the other device disconnected using a timeout, and restart your scan.