nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ pm_privacy_get()

uint32_t pm_privacy_get ( ble_gap_privacy_params_t * privacy_params)

#include <peer_manager.h>

Retrieve privacy settings.

The privacy settings that are returned include the current IRK as well.

Parameters
[out]privacy_paramsPrivacy settings.
Return values
NRF_SUCCESSIf the privacy settings were retrieved successfully.
NRF_ERROR_NULLIf privacy_params or privacy_params->p_device_irk is NULL.
NRF_ERROR_INVALID_STATEIf the Peer Manager is not initialized.