In iOS Bluetooth development, it’s all about scanning, connecting, and interacting. There’s no introduction to binding (or pairing). So what does binding mean here?

When we connect peripherals through some software, the phone will pop up a pairing prompt, which is the binding process (that is, using the ANCS service of iOS system). Peripherals can receive notifications from iOS system only after pairing.

The matching process is, however, don’t need a software to write some code to deal with, are generally will handle the hardware level, namely in the peripheral set BluetoothGattCharacteristic. PERMISSION_READ_ENCRYPTED permissions, iOS read peripherals in a characteristic value, When the pairing mechanism at the system layer is triggered, iOS automatically displays a pairing dialog box to complete the pairing.

Of course, the peripheral eigenvalue is required to tell you the hardware engineer, we read and write this eigenvalue will automatically pair binding.