Hi all, I was curious when the CBCentralManager delegate method "centralManager:didFailToConnectPeripheral:error:" is called. For reference the documentation for the method is below:
This method is invoked when a connection initiated via the connectPeripheral:options: method fails to complete. Because connection attempts do not time out, a failed connection usually indicates a transient issue, in which case you may attempt to connect to the peripheral again.
Could anyone elaborate on when this delegate method is invoked? In particular what are some of "transient" issues? Is there any sense of how often they occur? If the issue is "transient", how long is it expected to last? I've tried various scenarios to trigger this case but have never seen the method invoked.
Note: I'm investigating CoreBluetooth state restoration and preservation and want to make sure I am handling this case correctly. If any of these transient issues are more likely to occur in the background I'd be interested.