Bluetooth pairing - key generation method

In "Bluetooth Pairing - Pairing Feature Exchange" , we talked about the Bluetooth pairing feature exchange of Low Energy (LE). The pairing feature exchange enables both the initiating device and the responding device of the connection to learn the pairing characteristics of each other.

The pairing features that can be enabled are:

OOB (Out-of-Band) data flag

MITM (Man-in-the-Middle) flag

SC—LE Secure ConnecTIon flag

IO Cap-IO function

After the feature exchange is completed, both devices can select the key generation method used in the next stage. The list below shows the key generation methods for low-power Legacy Pairing and LE Secure ConnecTIon.

Low power traditional pairing:

Direct connection (Just Works)

Passkey Entry

Out-of-Band (OOB)

In addition to the above three methods, a low-power secure connection adds a new method:

Numerical comparison (Numeric Comparison)

Operation flow (Workflow)

Bluetooth pairing - key generation method

The following describes the key generation operation process of the selected device:

Step 1: Check the secure connection bits in the pairing feature exchange framework. If both secure connection bits are equal to 1, then a low-power secure connection is used and step 2 is entered. Otherwise use low power traditional pairing and go to step 3.

Step 2: When using a low-power secure connection, the initiating device and the responding device should follow the matrix selection pairing method as follows:

Bluetooth pairing - key generation method

"Using OOB" means selecting Out-of-Band

"Viewing MITM" means ignoring "OOB" and viewing the MITM logo

"Using the IO function", go to step 4 and select the key generation method according to the IO function of both devices.

Step 3: When using Low-Power Legacy Pairing, the initiating device and the responding device should follow the matrix selection pairing method as follows:

Bluetooth pairing - key generation method

"Using OOB" means selecting Out-of-Band

"Viewing MITM" means ignoring "OOB" and viewing the MITM logo

"Using the IO function", go to step 4 and select the key generation method according to the IO function of both devices.

Step 4: The following is a mapping of IO functions and key generation methods. According to the chart below, both the initiating device and the responding device can find a suitable connection method based on their pairing characteristics.

Bluetooth pairing - key generation method

The initiating device and the responding device can then learn how the key generation phase will be applied. In a follow-up third article, Xiaobian will continue to show how to generate a matching key in a low-power traditional pairing by using a key input (Passkey Entry).

APM 80V dc switching power supply is applicable to automobile electronics product testing sector. It also covers the 48v power supply. APM power supply is built-in 12V DIN4089 automobile starting voltage waveform, be able to simulate automobile engine electronic performance test;Meanwhile ,the built-in 12V ISO-16750-2 engine start test waveform enable simulation of voltage drop test waveform and restoration function test waveform.

Some features of the DC Power Supply as below:


  • Ultrafast respond time and high efficiency.
  • Accurate voltage and current measurement capability
  • Constant Power and wide range of voltage and current output
  • Equips with LIST waveform editing function
  • Compliant with SCPI communication protocol
  • Support RS232/RS485/LAN/USB (standard) ,GPIB (optional)
  • Master/Slave parallel and series operation mode for up to 10 units
  • Full protection: OVP/OCP/OPP/OTP/SCP
  • Voltage drop compensation by remote sense line.
  • Have obtained CE,UL,CSA,FCC.ROHS


80V DC Power Supply

80V DC Power Supply,Variable DC Power Supply,Laboratory Power Supply,Modular Power Supply

APM Technologies (Dongguan) Co., Ltd , https://www.apmpowersupply.com

Posted on