S145 SoftDevice for nRF54LS05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gap_sec_info_reply()

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.

Relevant Message Sequence Charts
Peripheral Encryption Establishment using stored keys
Parameters
[in]conn_handleConnection handle.
[in]p_enc_infoPointer to a ble_gap_enc_info_t encryption information structure. May be NULL to signal none is available.
Return values
NRF_SUCCESSSuccessfully accepted security information.
NRF_ERROR_INVALID_PARAMInvalid parameter(s) supplied.
NRF_ERROR_INVALID_STATEInvalid state to perform operation. Either:
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle supplied.