S132 SoftDevice v5.0.0-1.alpha
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
          The OOB data flag.
  • In LE legacy pairing, this flag is set if a device has out of band authentication data. The OOB method is used if both of the devices have out of band authentication data.
  • In LE Secure Connections pairing, this flag is set if a device has the peer device's out of band authentication data. The OOB method is used if at least one device has the peer device's OOB data available.

Documentation feedback | Developer Zone | Subscribe | Updated