Bluetooth Pairing Request Dialogue in iOS

Hi,

I'm developing an app that talks to a BLE peripheral. The BLE peripheral as well it's firmware is in-house. We need to keep the data on the peripheral side encrypted but we are trying to avoid requesting the pairing pin. Is there any way we can control the Bluetooth's pairing request? By control, I mean:



  1. Is there a way to auto-populate the pairing pin in the alert box?
  2. Is there a way to pass this pairing key to the system to avoid the alert itself?
  3. Or any way to modify the system pairing alert title/description?


I'm aware of the official documentation that Apple has provided restricted access to control the Bluetooth pairing. I'll be happy to know even if there are any private APIs which will support the above-mentioned requirement.


Any suggestions for the changes in the firmware side to support this requirement is also acceptable.

Replies

The peripheral can specify that it has no I/O capabilities. In this case the Apple device will not request any pairing key

  • This doesn't really answer the question. In the question, the person wants to supply a pairing key. They just want to do it behind the scenes, without user interaction or input. I too am interested in this question, but have not found an answer yet.

Add a Comment