| S332 SoftDevice v2.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gap_evt_auth_status_t Struct Reference
Structures

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_own
ble_gap_sec_kdist_t | kdist_peer

## 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_own

Bitmap stating which keys were exchanged (distributed) by the local device. If bonding with LE Secure Connections, the enc bit will be always set.

ble_gap_sec_kdist_t ble_gap_evt_auth_status_t::kdist_peer

Bitmap stating which keys were exchanged (distributed) by the remote device. If bonding with LE Secure Connections, the enc bit will never be set.

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.