Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

Embed: (wiki syntax)

« Back to documentation index

ble_gap_sec_params_t Struct Reference

ble_gap_sec_params_t Struct Reference
[Structures]

GAP security parameters. More...

#include <ble_gap.h>

Data Fields

uint8_t bond: 1
 Perform bonding.
uint8_t mitm: 1
 Man In The Middle protection required.
uint8_t io_caps: 3
 IO capabilities, see GAP IO Capabilities.
uint8_t oob: 1
 Out Of Band data available.
uint8_t min_key_size
 Minimum encryption key size in octets between 7 and 16.
uint8_t max_key_size
 Maximum encryption key size in octets between min_key_size and 16.
ble_gap_sec_kdist_t kdist_periph
 Key distribution bitmap: keys that the peripheral device will distribute.
ble_gap_sec_kdist_t kdist_central
 Key distribution bitmap: keys that the central device will distribute.

Detailed Description

GAP security parameters.

Definition at line 508 of file ble_gap.h.


Field Documentation

uint8_t bond

Perform bonding.

Definition at line 510 of file ble_gap.h.

uint8_t io_caps

IO capabilities, see GAP IO Capabilities.

Definition at line 512 of file ble_gap.h.

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

Definition at line 517 of file ble_gap.h.

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

Definition at line 516 of file ble_gap.h.

uint8_t max_key_size

Maximum encryption key size in octets between min_key_size and 16.

Definition at line 515 of file ble_gap.h.

uint8_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 514 of file ble_gap.h.

uint8_t mitm

Man In The Middle protection required.

Definition at line 511 of file ble_gap.h.

uint8_t oob

Out Of Band data available.

Definition at line 513 of file ble_gap.h.