nRF51 SDK: ble_gap_sec_keys_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gap_sec_keys_t Struct Reference
Generic Access Profile (GAP) | Structures | Generic Access Profile (GAP)

Keys that have been exchanged. More...

`#include <ble_gap.h>`

## Data Fields

uint8_t | ltk: 1
uint8_t | ediv_rand: 1
uint8_t | irk: 1
uint8_t | address: 1
uint8_t | csrk: 1
ble_gap_enc_key_t * | p_enc_key
ble_gap_id_key_t * | p_id_key
ble_gap_sign_info_t * | p_sign_key

## Detailed Description

Keys that have been exchanged.

Security Keys.

## Field Documentation

uint8_t ble_gap_sec_keys_t::address

Public or static random address.

uint8_t ble_gap_sec_keys_t::csrk

Connection Signature Resolving Key.

uint8_t ble_gap_sec_keys_t::ediv_rand

Encrypted Diversifier and Random value.

uint8_t ble_gap_sec_keys_t::irk

Identity Resolving Key.

uint8_t ble_gap_sec_keys_t::ltk

Long Term Key.

ble_gap_enc_key_t* ble_gap_sec_keys_t::p_enc_key

Encryption Key, or NULL.

ble_gap_id_key_t* ble_gap_sec_keys_t::p_id_key

Identity Key, or NULL.

ble_gap_sign_info_t* ble_gap_sec_keys_t::p_sign_key

Signing Key, or NULL.