![]() |
S145 SoftDevice for nRF54LS05 API documentation 10.0.0
|
| uint32_t sd_ble_gap_sec_info_reply | ( | uint16_t | conn_handle, |
| ble_gap_enc_info_t const * | p_enc_info ) |
#include <ble_gap.h>
Reply with GAP security information.
This function is only used to reply to a BLE_GAP_EVT_SEC_INFO_REQUEST, calling it at other times will result in NRF_ERROR_INVALID_STATE.
| Peripheral Encryption Establishment using stored keys |
| [in] | conn_handle | Connection handle. |
| [in] | p_enc_info | Pointer to a ble_gap_enc_info_t encryption information structure. May be NULL to signal none is available. |
| NRF_SUCCESS | Successfully accepted security information. |
| NRF_ERROR_INVALID_PARAM | Invalid parameter(s) supplied. |
| NRF_ERROR_INVALID_STATE | Invalid state to perform operation. Either:
|
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid connection handle supplied. |