nRF51 SDK - S110 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

uint16_t timeout
 
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
 

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.

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.

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.

uint16_t ble_gap_sec_params_t::timeout

Timeout for SMP transactions or Security Request in seconds, see sd_ble_gap_authenticate and sd_ble_gap_sec_params_reply for more information.