nRF51 SDK - S110 SoftDevice
|
Custom Privacy Option. More...
#include <ble_gap.h>
Data Fields | |
ble_gap_irk_t * | p_irk |
uint16_t | interval_s |
Custom Privacy Option.
This structure is used with both @ref sd_ble_opt_set (as input) and with @ref sd_ble_opt_get (as output). Structure containing: - A pointer to an IRK to set (if input), or a place to store a read IRK (if output). - A private address refresh cycle.
NRF_SUCCESS | Set or read successfully. |
NRF_ERROR_INVALID_ADDR | The pointer to IRK storage is invalid. |
uint16_t ble_gap_opt_privacy_t::interval_s |
When input: Custom private address cycle interval in seconds. When output: The current private address cycle interval.
ble_gap_irk_t* ble_gap_opt_privacy_t::p_irk |
When input: Pointer to custom IRK, or NULL to use/reset to the device's default IRK. When output: Pointer to where the current IRK is to be stored, or NULL to not read out the IRK.