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:
Michal Gorecki
2022-09-28 10:01:55 +02:00
committed by Szymon Janc
parent d7ae17e2eb
commit b36ce21bc1
+19
View File
@@ -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 */
/**
* @}
*/