Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_gap_opt_privacy_t Struct Reference

ble_gap_opt_privacy_t Struct Reference
[Generic Access Profile (GAP)]

Custom Privacy Options. More...

#include <ble_gap.h>

Data Fields

ble_gap_irk_tp_irk
 When input: Pointer to custom IRK, or NULL to use/reset to the device's default IRK.
uint16_t interval_s
 When input: Custom private address cycle interval in seconds.

Detailed Description

Custom Privacy Options.

Note:
The specified address cycle interval is used when the address cycle mode is BLE_GAP_ADDR_CYCLE_MODE_AUTO. If 0 is given, the address will not be refreshed at any interval, and not at start of advertising. A new address can be generated manually by calling sd_ble_gap_address_set with the same type again. The default interval is BLE_GAP_DEFAULT_PRIVATE_ADDR_CYCLE_INTERVAL_S.
If cycle mode is BLE_GAP_ADDR_CYCLE_MODE_AUTO, the address will immediately be refreshed when this option is set.

Definition at line 664 of file ble_gap.h.


Field Documentation

uint16_t interval_s

When input: Custom private address cycle interval in seconds.

When output: The current private address cycle interval.

Definition at line 667 of file ble_gap.h.

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.

Definition at line 666 of file ble_gap.h.