Detect if the user cancels a pairing request as a peripheral

For a component operating as a peripheral in a BLE connection, is it possible to tell if the user taps "Cancel" in the system's pairing request dialog?

None of the methods in CBPeripheralManagerDelegate appear to apply.

Answered by Engineer in 825537022

There isn't a way to tell any connection related events for a peripheral app. All that is handled by the system, and your app won't know what is happening at the system level until a central connects to your app and starts sending read/write/etc. commands.


Argun Tekant /  DTS Engineer / Core Technologies

Accepted Answer

There isn't a way to tell any connection related events for a peripheral app. All that is handled by the system, and your app won't know what is happening at the system level until a central connects to your app and starts sending read/write/etc. commands.


Argun Tekant /  DTS Engineer / Core Technologies

Detect if the user cancels a pairing request as a peripheral
 
 
Q