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
 
ble_gap_addr_tp_peer_addr
 
uint8_t fp
 
ble_gap_whitelist_tp_whitelist
 
uint16_t interval
 
uint16_t timeout
 

Detailed Description

GAP advertising parameters.

Field Documentation

uint8_t ble_gap_adv_params_t::fp

Filter Policy, see BLE_GAP_ADV_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 BLE_GAP_ADV_INTERVALS. This parameter must be set to 0 if type equals BLE_GAP_ADV_TYPE_ADV_DIRECT_IND.

ble_gap_addr_t* ble_gap_adv_params_t::p_peer_addr

For BLE_GAP_CONN_MODE_DIRECTED 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 BLE_GAP_ADV_TIMEOUT_VALUES. This parameter must be set to 0 if type equals BLE_GAP_ADV_TYPE_ADV_DIRECT_IND.

uint8_t ble_gap_adv_params_t::type

See BLE_GAP_ADV_TYPES.