Post

Replies

Boosts

Views

Activity

Reply to CBPeripheral gets stuck in connecting/disconnecting states
I had the similar issue. CBPeripheral device stucks in Connecting state. My problem was that I had 2 different CBCentralManager. First central manager just discovers CBPeripheral. Second work as background central manager. So when the first manager discovered peripheral I store this CBPeripheral. Next I tried to connect stored peripheral with second central manager. And connection stucks in connecting state. I fix this issue by removing second central manager and use only the first.
Jun ’24