nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gap_evt_auth_status_t Struct Reference

Event structure for BLE_GAP_EVT_AUTH_STATUS. More...

#include <ble_gap.h>

Data Fields

uint8_t auth_status
 
uint8_t error_src: 2
 
uint8_t bonded: 1
 
ble_gap_sec_levels_t sm1_levels
 
ble_gap_sec_levels_t sm2_levels
 
ble_gap_sec_kdist_t kdist_periph
 
ble_gap_sec_kdist_t kdist_central
 

Detailed Description

Event structure for BLE_GAP_EVT_AUTH_STATUS.

Field Documentation

uint8_t ble_gap_evt_auth_status_t::auth_status

Authentication status, see GAP Security status.

uint8_t ble_gap_evt_auth_status_t::bonded

Procedure resulted in a bond.

uint8_t ble_gap_evt_auth_status_t::error_src

On error, source that caused the failure, see GAP Security status sources.

ble_gap_sec_kdist_t ble_gap_evt_auth_status_t::kdist_central

Bitmap stating which keys were exchanged (distributed) by the central.

ble_gap_sec_kdist_t ble_gap_evt_auth_status_t::kdist_periph

Bitmap stating which keys were exchanged (distributed) by the peripheral.

ble_gap_sec_levels_t ble_gap_evt_auth_status_t::sm1_levels

Levels supported in Security Mode 1.

ble_gap_sec_levels_t ble_gap_evt_auth_status_t::sm2_levels

Levels supported in Security Mode 2.