最終更新:2022-08-15 (月) 22:05:08 (882d)
BLE/SMP
Security Manager Protocol
The Security Manager Protocol (SMP) is used for pairing and transport specific key distribution.
メモ
- uses a fixed L2CAP channel to implement the security functions between devices.
- the peer-to-peer protocol used to generate encryption keys and identity keys.
- The SMP block interfaces directly with the Controller to provide stored keys used for encryption and authentication during the encryption or pairing procedures.
鍵の管理
- The SMP block also manages storage of the encryption keys and identity keys and is responsible for generating random addresses and resolving random addresses to known device identities.
BLE/SMP/コマンド
- LSBから
バイト 1 0~22 or 64 フィールド コード データ
コード
Code Description Logical Link Supported 0x01 BLE/SMP/コマンド/Pairing Request LE-U, ACL-U 0x02 BLE/SMP/コマンド/Pairing Response LE-U, ACL-U 0x03 BLE/SMP/コマンド/Pairing Confirm LE-U 0x04 BLE/SMP/コマンド/Pairing Random? LE-U 0x05 BLE/SMP/コマンド/Pairing Failed LE-U, ACL-U 0x06 BLE/SMP/コマンド/Encryption Information LE-U 0x07 BLE/SMP/コマンド/Central Identification? LE-U 0x08 BLE/SMP/コマンド/Identity Information LE-U, ACL-U 0x09 BLE/SMP/コマンド/Identity Address Information LE-U, ACL-U 0x0A BLE/SMP/コマンド/Signing Information LE-U, ACL-U 0x0B BLE/SMP/コマンド/Security Request LE-U 0x0C BLE/SMP/コマンド/Pairing Public Key? LE-U 0x0D BLE/SMP/コマンド/Pairing DHKey Check? LE-U 0x0E BLE/SMP/コマンド/Pairing Keypress Notification? LE-U All other values Reserved for future use
メモ
- 同様の処理はClassicではBluetooth Classic/リンクマネージャで行っていたが、LEのみのデバイスの実装コストを下げるためにホストでの実装となった