![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| 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.
| [out] | privacy_params | Privacy settings. |
| NRF_SUCCESS | If the privacy settings were retrieved successfully. |
| NRF_ERROR_NULL | If privacy_params or privacy_params->p_device_irk is NULL. |
| NRF_ERROR_INVALID_STATE | If the Peer Manager is not initialized. |