nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gap_adv_params_t Struct Reference

GAP advertising parameters. More...

#include <ble_gap.h>

Data Fields

uint8_t type
uint8_t fp
uint16_t interval
uint16_t timeout
ble_gap_adv_ch_mask_t channel_mask

Detailed Description

GAP advertising parameters.

Field Documentation

ble_gap_adv_ch_mask_t ble_gap_adv_params_t::channel_mask

Advertising channel mask.

See Also
ble_gap_channel_mask_t for documentation.
uint8_t ble_gap_adv_params_t::fp

Filter Policy, see GAP Advertising filter policies.

uint16_t ble_gap_adv_params_t::interval
             Advertising interval between 0x0020 and 0x4000 in 0.625 ms units (20ms to 10.24s), see @ref BLE_GAP_ADV_INTERVALS.
ble_gap_addr_t* ble_gap_adv_params_t::p_peer_addr

For BLE_GAP_ADV_TYPE_ADV_DIRECT_IND mode only, known peer address.

ble_gap_whitelist_t* ble_gap_adv_params_t::p_whitelist

Pointer to whitelist, NULL if none is given.

uint16_t ble_gap_adv_params_t::timeout

Advertising timeout between 0x0001 and 0x3FFF in seconds, 0x0000 disables timeout. See also GAP Advertising timeout values. If type equals BLE_GAP_ADV_TYPE_ADV_DIRECT_IND, this parameter must be set to 0 for High duty cycle directed advertising.

uint8_t ble_gap_adv_params_t::type