最終更新:2022-08-18 (木) 06:55:39 (38d)  

BLE/SMP/コマンド/Pairing Request
Top / BLE / SMP / コマンド / Pairing Request

The initiator starts the Pairing Feature Exchange by sending a Pairing Request command to the responding device.

フィールドCodeIO CapabilityOOB data flagAuthReqMamimum Encryption Key SizeInitiator Key DistributionResponder Key Distribution
バイト1111111
0x01

IO Capability

  • ValueDescription
    0x00DisplayOnly?
    0x01DisplayYesNo?
    0x02KeyboardOnly?
    0x03NoInputNoOutput?
    0x04KeyboardDisplay?
    0x05 to 0xFFReserved for future use

OOB data flag?

  • ValueDescription
    0x00OOB Authentication data not present
    0x01OOB Authentication data from remote device present
    0x02 to 0xFFReserved for future use

AuthReq

  • The AuthReq field is a bit field that indicates the requested security properties for the STK and LTK and GAP bonding information.
    フィールドBonding FlagsMITMSCKeypressCT2RFU
    ビット211112

Bonding_Flags

  • The Bonding_Flags field is a 2-bit field that indicates the type of bonding being requested by the initiating device
    b1b0Bonding Type
    00No Bonding
    01Bonding
    10Reserved for future use
    11Reserved for future use

MITM

  • The MITM field is a 1-bit flag that is set to one if the device is requesting MITM protection, otherwise it shall be set to 0.

SC

keypress

  • The keypress field is a 1-bit flag that is used only in the Passkey Entry? protocol and shall be ignored in other protocols.

CT2

  • The CT2 field is a 1-bit flag that shall be set to 1 upon transmission to indicate support for the h7 function.

Maximum Encryption Key Size

  • defines the maximum encryption key size in octets that the device can support.
  • The maximum key size shall be in the range 7 to 16 octets.

Initiator Key Distribution / Generation

  • indicates which keys the initiator is requesting to distribute / generate or use during the Transport Specific Key Distribution phase.
    フィールドEncKey?IdKey?SignKey?LinkKey?RFU
    ビット11114

EncKey?

  • In LE legacy pairing, EncKey? is a 1-bit field that is set to one to indicate that the device shall distribute LTK using the Encryption Information command followed by EDIV and Rand using the Central Identification command.
  • In LE Secure Connections pairing, when SMP is running on the LE transport, then the EncKey? field shall be ignored. EDIV and Rand shall be set to zero and shall not be distributed.
  • When SMP is running on the BR/EDR transport, the EncKey? field is set to one to indicate that the device would like to derive the LTK from the BR/EDR Link Key. When EncKey? is set to 1 by both devices in the initiator and responder Key Distribution / Generation fields, the procedures for calculating the LTK from the BR/EDR Link Key shall be used.

IdKey?

  • IdKey? is a 1-bit field that is set to one to indicate that the device shall distribute IRK using the Identity Information command followed by its public device or static random address using Identity Address Information.

SignKey?

  • SignKey? is a 1-bit field that is set to one to indicate that the device shall distribute CSRK using the Signing Information command.

LinkKey?

  • LinkKey? is a 1-bit field. When SMP is running on the LE transport, the LinkKey? field is set to one to indicate that the device would like to derive the Link Key from the LTK. When LinkKey? is set to 1 by both devices in the initiator and responder Key Distribution / Generation fields, the procedures for calculating the BR/EDR link key from the LTK shall be used. Devices not supporting LE Secure Connections shall set this bit to zero and ignore it on reception. When SMP is running on the BR/EDR transport, the LinkKey? field is reserved for future use.

Responder Key Distribution