mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-25 19:29:59 +00:00
host: Add defines for Key Distribution settings
Add key distribution masks defines. This can be used to initialize sm_our_key_dist and sm_their_key_dist fields in ble_hs_cfg struct.
This commit is contained in:
committed by
Szymon Janc
parent
d7ae17e2eb
commit
b36ce21bc1
@@ -165,6 +165,25 @@ extern "C" {
|
||||
/** KeyboardDisplay Only IO capability */
|
||||
#define BLE_HS_IO_KEYBOARD_DISPLAY 0x04
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief LE key distribution
|
||||
* @defgroup bt_host_key_dist LE key distribution
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Distibute LTK */
|
||||
#define BLE_HS_KEY_DIST_ENC_KEY 0x01
|
||||
|
||||
/** Distribute IRK */
|
||||
#define BLE_HS_KEY_DIST_ID_KEY 0x02
|
||||
|
||||
/** CSRK distibution and LinkKey are not supported */
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user