Data Fields
sec_cb_fun_t Struct Reference
BLE » Security Manager(SM) » Structures

SEC register call back. More...

`#include <ble_sec.h>`

## Data Fields
void(* | app_sec_enc_req_cb )(uint8_t conn_idx, sec_enc_req_t *p_enc_req)
void(* | app_sec_enc_ind_cb )(uint8_t conn_idx, sec_enc_ind_t enc_ind, uint8_t auth)
void(* | app_sec_keypress_notify_cb )(uint8_t conn_idx, sec_keypress_notify_t notify_type)
void(* | app_sec_key_missing_cb )(uint8_t conn_idx, sec_key_missing_reason_t reason)

## Detailed Description

SEC register call back.

## Field Documentation

## ◆ app_sec_enc_ind_cb

void(* sec_cb_fun_t::app_sec_enc_ind_cb) (uint8_t conn_idx, sec_enc_ind_t enc_ind, uint8_t auth)

Security manager module receives encryption indication callback, see SEC Auth Flag.

## ◆ app_sec_enc_req_cb

void(* sec_cb_fun_t::app_sec_enc_req_cb) (uint8_t conn_idx, sec_enc_req_t *p_enc_req)

Security manager module receives encryption request callback.

## ◆ app_sec_key_missing_cb

void(* sec_cb_fun_t::app_sec_key_missing_cb) (uint8_t conn_idx, sec_key_missing_reason_t reason)

Security manager module receives key missing callback, see sec_key_missing_reason_t.

## ◆ app_sec_keypress_notify_cb

void(* sec_cb_fun_t::app_sec_keypress_notify_cb) (uint8_t conn_idx, sec_keypress_notify_t notify_type)

Security manager module receives key press notify callback.

The documentation for this struct was generated from the following file:

- ble_sec.h