S130 SoftDevice v2.0.0
Data Fields
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 lesc: 1
uint8_t keypress: 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_own
ble_gap_sec_kdist_t kdist_peer

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_own

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

ble_gap_sec_kdist_t ble_gap_sec_params_t::kdist_peer

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

uint8_t ble_gap_sec_params_t::keypress

Enable generation of keypress notifications.

uint8_t ble_gap_sec_params_t::lesc

Enable LE Secure Connection pairing.

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

Enable Man In The Middle protection.

uint8_t ble_gap_sec_params_t::oob

Out Of Band data available.

Documentation feedback | Developer Zone | Updated