Provide more feedback during Bluetooth LE pairing / bonding

Originator:me
Number:rdar://15971420 Date Originated:
Status:Open Resolved:
Product:iOS SDK Product Version:7.1b4
Classification:Enhancement Reproducible:Not Applicable
 
To establish a bond/pair with a Bluetooth LE device, an application asks to read a characteristic and the Bluetooth device needs to reply with “not authorized” — then iOS will display a pairing alert, “transparently” to the app.

If, however, the user is using the accessory’s companion app (such as Fitbit), and performs an action that explicitly requires pairing (enabling ANCS), we’d like to be more involved in the process. For example, pairing may fail for multiple reasons, but also the user explicitly tapping “Cancel”.

As an app developer, we would like to know whether the pairing process failed because the user explicitly canceled, or if it was due to some other (possibly transient) error, such as losing connection, the peripheral going out of range, etc.

“User canceled” could possibly be communicated via the characteristic value read error.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!