I faced this issue back in 2024 and saw this behaviour mentioned in the below link
iOS connection stuck issue
I saw this is exactly what was happening then with prints and saw it.
I had put a fix for this using the below where if the below condition was true then I used to save the new object:
if(Unmanaged.passUnretained(peripheral).toOpaque() != Unmanaged.passUnretained(storedCbPeripheral!).toOpaque()) {
storedCbPeripheral = peripheral
}
And things worked well all this time. However, for one of the users on one of the device I can see a connect failing in my app. It also fails in 'nRF Connect' app to the particular app. It remains in connecting state.
What could be the cause of this new issue.
To give more context, this user's phone doesn't connect only to this one device. The user's phone connects to other devices. Other users phones connect to this device and other devices also.
Phone model: iPhone15,4
iOS version: 27.0.1