Data Fields
gap_ext_adv_param_t Struct Reference
BLE » Generic Access Profile (GAP) » Generic Access Profile (GAP) Management » Structures

Advertising parameters for extended advertising and periodic advertising. More...

`#include <ble_gapm.h>`

## Data Fields
uint8_t | type
uint8_t | disc_mode
uint16_t | prop
int8_t | max_tx_pwr
uint8_t | filter_pol
gap_bdaddr_t | peer_addr
gap_adv_prim_cfg_t | prim_cfg
gap_adv_second_cfg_t | second_cfg
gap_adv_period_cfg_t | period_cfg

## Detailed Description

Advertising parameters for extended advertising and periodic advertising.

## Field Documentation

## ◆ disc_mode

uint8_t gap_ext_adv_param_t::disc_mode

Discovery mode (see enum gap_disc_mode_t).

## ◆ filter_pol

uint8_t gap_ext_adv_param_t::filter_pol

Advertising filtering policy (see enum gap_adv_filter_policy_t).

## ◆ max_tx_pwr

int8_t gap_ext_adv_param_t::max_tx_pwr

Maximum power level at which the advertising packets have to be transmitted (between -20 and 7 dBm).

## ◆ peer_addr

gap_bdaddr_t gap_ext_adv_param_t::peer_addr

Peer address configuration (only used in case of directed advertising or used to locate the IRK list).

## ◆ period_cfg

gap_adv_period_cfg_t gap_ext_adv_param_t::period_cfg

Configuration for periodic advertising (valid only if advertising type is GAP_ADV_TYPE_PERIODIC).

## ◆ prim_cfg

gap_adv_prim_cfg_t gap_ext_adv_param_t::prim_cfg

Configuration for primary advertising.

## ◆ prop

uint16_t gap_ext_adv_param_t::prop

Bit field value provided by advertising properties. See enum gap_adv_prop_t for bit signification.

## ◆ second_cfg

gap_adv_second_cfg_t gap_ext_adv_param_t::second_cfg

Configuration for secondary advertising (valid only if advertising type is GAP_ADV_TYPE_EXTENDED or GAP_ADV_TYPE_PERIODIC).

## ◆ type

uint8_t gap_ext_adv_param_t::type

Advertising type (see enum gap_adv_type_t).

The documentation for this struct was generated from the following file:

- ble_gapm.h