Bluetooth pairing - pairing feature exchange

There are three main architectural layers in the Bluetooth® core specification: controllers, hosts, and applications. The host layer has a security manager module that defines methods and protocols for pairing and key distribution, a corresponding security toolkit, and a security manager protocol that defines the form of the pairing instruction framework, framework, and timeout restrictions. The security manager performs the identity and encryption functions in the radio communication by means of key distribution.

Bluetooth pairing - pairing feature exchange

Pairing to establish a key, then the key can be used to encrypt the link. A transport specific key assignment is then performed to share the key. The key can be used to encrypt future reconnections, verify signature data, or perform random address resolution. In general, there are three stages of pairing:

Phase 1: Pairing feature exchange

The second stage (low power traditional pairing): generate Short Term Key (STK)

(Low-Power Secure Link): Generate Long Term Key (LTK)

Phase III: Transferring a specific key distribution

Most readers may not necessarily understand low-power traditional pairing and low-power secure connections. Low Energy (LE) is one of the main features of Bluetooth 4.0 and above in the Bluetooth specification. The Bluetooth 4.2 specification adds secure connectivity to low-power physical transport, upgrades pairing, and uses Federal Information Processing (FIPS) licensed algorithms (AES-CMAC and P-256 elliptic curves) for Bluetooth low-power physical transmission. . In order to distinguish the secure connection from the low power pairing defined in the Bluetooth 4.0 and 4.1 specifications, we have made the latter a low power traditional pairing. Figure 1 is a pairing flow diagram for both traditional pairing and secure connections.

Bluetooth pairing - pairing feature exchange

Figure 1: Pairing flow chart

In this article, we mainly discuss the first phase, the pairing feature exchange. Pairing is the exchange of security features, including input/output (IO) functions, requirements for man-in-the-middle protection, and so on. The exchange of pairing information between the two devices is achieved through a pairing request (PairingRequest) and a pairing response (PairingResponse) packet. For the contents of these two kinds of information, please refer to Table 1: Pairing Request/Response.

Table 1 Pairing Request/Response

Bluetooth pairing - pairing feature exchange

"code"

Bluetooth pairing - pairing feature exchange

IO function

IO is the input/output, and the IO functions are combined to generate the value of this field.

For the input function, it may be "no input", "yes/no" or "keyboard", the details are as follows:

Bluetooth pairing - pairing feature exchange

For the output function, it may be “no output” or “digital output”, as follows:

Bluetooth pairing - pairing feature exchange

After combining the input and output functions, the following matrix is ​​defined, which defines the IO functions that Bluetooth devices should have.

Bluetooth pairing - pairing feature exchange

1 No pairing algorithm can use the "yes/no" input and "no output", so its IO function result is "NoInputNoOutput".

From the above matrix, you can get an overview of the corresponding IO functions, and select the appropriate values ​​from the table below to place the pairing request/response packets.

Bluetooth pairing - pairing feature exchange

With APM`s latest technologies, SP series programmable DC Power Supply offers high efficiency, high precision ,high stability ,low ripple with full featured power test solution. The switch mode power supply gives you just the right performance at just the right price.

From 600W to 4kW ,the whole series includes variable voltage power supply, equipped with a flexible auto-ranging output stage, maximum output voltage and current is up to 800V and 200A respectively.   

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
  • Built-in standard automobile electrical testing curves
  • Full protection: OVP/OCP/OPP/OTP/SCP
  • Voltage drop compensation by remote sense line.
  • Have obtained CE,UL,CSA,FCC.ROHS


DC Power Supply

DC Power Supply,AC DC Power Supply,12V DC Power Supply,48V DC Power Supply,High Power DC Power Supply

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