Macros
SEC Key Distribution Flag
BLE » Security Manager(SM) » Defines

## Macros
#define | BLE_SEC_KDIST_NONE 0
#define | BLE_SEC_KDIST_ENCKEY (1 << 0)
#define | BLE_SEC_KDIST_IDKEY (1 << 1)
#define | BLE_SEC_KDIST_SIGNKEY (1 << 2)
#define | BLE_SEC_KDIST_LINKKEY (1 << 3)
#define | BLE_SEC_KDIST_ALL (BLE_SEC_KDIST_ENCKEY | BLE_SEC_KDIST_IDKEY | BLE_SEC_KDIST_SIGNKEY)
#define | BLE_BT_SEC_KDIST_ALL (BLE_SEC_KDIST_ALL | BLE_SEC_KDIST_LINKKEY)

## Detailed Description

## Macro Definition Documentation

## ◆ BLE_BT_SEC_KDIST_ALL

#define BLE_BT_SEC_KDIST_ALL (BLE_SEC_KDIST_ALL | BLE_SEC_KDIST_LINKKEY)

Distribute all info for LE/BREDR.

Definition at line 79 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_ALL

#define BLE_SEC_KDIST_ALL (BLE_SEC_KDIST_ENCKEY | BLE_SEC_KDIST_IDKEY | BLE_SEC_KDIST_SIGNKEY)

Distribute all info.

Definition at line 78 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_ENCKEY

#define BLE_SEC_KDIST_ENCKEY (1 << 0)

Distribute encryption and master identification info.

Definition at line 74 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_IDKEY

#define BLE_SEC_KDIST_IDKEY (1 << 1)

Distribute identity and address info.

Definition at line 75 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_LINKKEY

#define BLE_SEC_KDIST_LINKKEY (1 << 3)

Distribute BR/EDR link key info. This flag only used for LE/BREDR.

Definition at line 77 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_NONE

#define BLE_SEC_KDIST_NONE 0

No key needs to be distributed.

Definition at line 73 of file ble_sec.h.

## ◆ BLE_SEC_KDIST_SIGNKEY

#define BLE_SEC_KDIST_SIGNKEY (1 << 2)

Distribute signing info.

Definition at line 76 of file ble_sec.h.