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

Event data for authentication status event. 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 data for authentication status event.

Field Documentation

uint8_t ble_gap_evt_auth_status_t::auth_status

Authentication status, see BLE_GAP_SEC_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 BLE_GAP_SEC_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.