dragoon  4383
 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 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.

Definition at line 678 of file ble_gap.h.

Field Documentation

uint8_t ble_gap_sec_params_t::bond

Perform bonding.

Definition at line 680 of file ble_gap.h.

uint8_t ble_gap_sec_params_t::io_caps

IO capabilities, see GAP IO Capabilities.

Definition at line 684 of file ble_gap.h.

ble_gap_sec_kdist_t ble_gap_sec_params_t::kdist_own

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

Definition at line 692 of file ble_gap.h.

ble_gap_sec_kdist_t ble_gap_sec_params_t::kdist_peer

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

Definition at line 693 of file ble_gap.h.

uint8_t ble_gap_sec_params_t::keypress

Enable generation of keypress notifications.

Definition at line 683 of file ble_gap.h.

uint8_t ble_gap_sec_params_t::lesc

Enable LE Secure Connection pairing.

Definition at line 682 of file ble_gap.h.

uint8_t ble_gap_sec_params_t::max_key_size

Maximum encryption key size in octets between min_key_size and 16.

Definition at line 691 of file ble_gap.h.

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.

Definition at line 690 of file ble_gap.h.

uint8_t ble_gap_sec_params_t::mitm

Enable Man In The Middle protection.

Definition at line 681 of file ble_gap.h.

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.

Definition at line 685 of file ble_gap.h.


The documentation for this struct was generated from the following file: