Post

Replies

Boosts

Views

Activity

Reply to CBCentralManager State Changes to PoweredOff After Using ASK for Accessory Setup
I am experiencing the same issue described here. If I bring up the AccessorySetupKit picker for ~10 seconds, the BluetoothCentral goes to disconnected. All peripherals also disconnect but I do not get notified (checking peripheral state will show disconnected) There is no recovery without restarting my app. This still reproduces on iOS 26.2 and iOS 26.3. I am ONLY using ASK paired accessories. No bluetooth scanning. With that said, I have a workaround. Disconnect all peripherals AND clear all references to BluetoothCentral before bringing up ASK picker Do not attempt to connect to newly added peripheral while ASK picker is on screen (that is don't use .accessoryAdded as a chance to connect because you don't want to create the central with ASK in use) After ASK is dismissed, recreate BluetoothCentral WITHOUT state restoration Go through all accessories (new and old) and get new references to peripherals + set new delegates etc. This seems to work reliably, but it seems really surprising that to use ASK to pair an accessory you first need to disconnect and remove all traces to your existing peripherals. @Engineer Would love to know if there is any better way to handle this because it's a challenging situation where ASK seems to interfere badly with bluetooth, when ASK's main purpose is to set up bluetooth peripherals.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’26
Reply to CBCentralManager State Changes to PoweredOff After Using ASK for Accessory Setup
I am experiencing the same issue described here. If I bring up the AccessorySetupKit picker for ~10 seconds, the BluetoothCentral goes to disconnected. All peripherals also disconnect but I do not get notified (checking peripheral state will show disconnected) There is no recovery without restarting my app. This still reproduces on iOS 26.2 and iOS 26.3. I am ONLY using ASK paired accessories. No bluetooth scanning. With that said, I have a workaround. Disconnect all peripherals AND clear all references to BluetoothCentral before bringing up ASK picker Do not attempt to connect to newly added peripheral while ASK picker is on screen (that is don't use .accessoryAdded as a chance to connect because you don't want to create the central with ASK in use) After ASK is dismissed, recreate BluetoothCentral WITHOUT state restoration Go through all accessories (new and old) and get new references to peripherals + set new delegates etc. This seems to work reliably, but it seems really surprising that to use ASK to pair an accessory you first need to disconnect and remove all traces to your existing peripherals. @Engineer Would love to know if there is any better way to handle this because it's a challenging situation where ASK seems to interfere badly with bluetooth, when ASK's main purpose is to set up bluetooth peripherals.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26