S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gap_privacy_get()

uint32_t sd_ble_gap_privacy_get ( ble_gap_privacy_params_t * p_privacy_params)

#include <ble_gap.h>

Get privacy settings.

Note
ble_gap_privacy_params_t::p_device_irk must be initialized to NULL or a valid address before this function is called. If it is initialized to a valid address, the address pointed to will contain the current device IRK on return.
Parameters
[in,out]p_privacy_paramsPrivacy settings.
Return values
NRF_SUCCESSPrivacy settings read.
NRF_ERROR_INVALID_ADDRThe pointer given for returning the privacy settings may be NULL or invalid. Otherwise, the p_device_irk pointer in privacy parameter is an invalid pointer.