Hi members,
i 've an issue on iPhone SE 2nd gen (iOS 14.2) when my app uses CoreBluetooth API during the connection phase.
When my app call "connect" function to the peripheral,sometimes it happens that didConnect is fired after a delay of 45 or 90 seconds.
With iPhone 6 (iOS 12.4.9) and iPad 6th gen (iOS 14.2) this doesn't never happens.
Anyway, delayed or not, the didConnect is always fired successfully, so it seems it's only a matter of waiting for CB API to fire this callback.
I've just patch this strange behaviour with the following workaround: if didConnect callback is not fired within 3 seconds, the app cancel the current connection and retry to connect to the peripheral. To be sure I repeat this workaround for 3 times.
Does anyone faced this issue before?
Thanks
i 've an issue on iPhone SE 2nd gen (iOS 14.2) when my app uses CoreBluetooth API during the connection phase.
When my app call "connect" function to the peripheral,sometimes it happens that didConnect is fired after a delay of 45 or 90 seconds.
With iPhone 6 (iOS 12.4.9) and iPad 6th gen (iOS 14.2) this doesn't never happens.
Anyway, delayed or not, the didConnect is always fired successfully, so it seems it's only a matter of waiting for CB API to fire this callback.
I've just patch this strange behaviour with the following workaround: if didConnect callback is not fired within 3 seconds, the app cancel the current connection and retry to connect to the peripheral. To be sure I repeat this workaround for 3 times.
Does anyone faced this issue before?
Thanks