nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gap_sec_params_t Struct Reference

GAP security parameters. More...

#include <ble_gap.h>

Data Fields

uint8_t bond: 1
uint8_t mitm: 1
uint8_t io_caps: 3
uint8_t oob: 1
uint8_t min_key_size
uint8_t max_key_size
ble_gap_sec_kdist_t kdist_periph
ble_gap_sec_kdist_t kdist_central

Detailed Description

GAP security parameters.

Field Documentation

uint8_t ble_gap_sec_params_t::bond

Perform bonding.

uint8_t ble_gap_sec_params_t::io_caps

IO capabilities, see GAP IO Capabilities.

ble_gap_sec_kdist_t ble_gap_sec_params_t::kdist_central

Key distribution bitmap: keys that the central device will distribute.

ble_gap_sec_kdist_t ble_gap_sec_params_t::kdist_periph

Key distribution bitmap: keys that the peripheral device will distribute.

uint8_t ble_gap_sec_params_t::max_key_size

Maximum encryption key size in octets between min_key_size and 16.

uint8_t ble_gap_sec_params_t::min_key_size

Minimum encryption key size in octets between 7 and 16. If 0 then not applicable in this instance.

uint8_t ble_gap_sec_params_t::mitm

Man In The Middle protection required.

uint8_t ble_gap_sec_params_t::oob

Out Of Band data available.