In iOS17 this new option has been added in the peripheral connection option
CBConnectPeripheralOptionEnableAutoReconnect
The documentation states:
After a peripheral device connects, this setting enables the system to initiate a connection to the peer device automatically when the link drops. The system uses centralManager(_:didDisconnectPeripheral:timestamp:isReconnecting:error:) to notify the caller about the disconnection.
To get the same behavior I used to schedule a new connection after a disconnection depending on the error type. I'm trying to understands if the are more benefits using that flag instead the of "old" way.
Can someone clarify that?
Best,
Andrea