思澈科技软件开发工具包  2.20
ble_gap_adv_parameter_t Struct Reference

The struture of advertising parmeter. More...

#include <bf0_ble_gap.h>

Data Fields

uint8_t own_addr_type
 Own address type (. More...
 
uint8_t type
 Advertising type (. More...
 
uint8_t disc_mode
 Discovery mode (. More...
 
uint16_t prop
 Bit field value provided advertising properties (. More...
 
int8_t max_tx_pwr
 
uint8_t filter_pol
 Advertising filtering policy (. More...
 
ble_gap_addr_t peer_addr
 Peer address configuration (only used in case of directed advertising)
 
gapm_adv_prim_cfg_t prim_cfg
 Configuration for primary advertising.
 
gapm_adv_second_cfg_t second_cfg
 

Detailed Description

The struture of advertising parmeter.

Field Documentation

◆ disc_mode

uint8_t ble_gap_adv_parameter_t::disc_mode

Discovery mode (.

See also
enum gapm_adv_disc_mode)

◆ filter_pol

uint8_t ble_gap_adv_parameter_t::filter_pol

Advertising filtering policy (.

See also
enum adv_filter_policy)

◆ max_tx_pwr

int8_t ble_gap_adv_parameter_t::max_tx_pwr

Maximum power level at which the advertising packets have to be transmitted (between -127 and 126 dBm, 127 dbm use default value in stack)

◆ own_addr_type

uint8_t ble_gap_adv_parameter_t::own_addr_type

Own address type (.

See also
enum gapm_own_addr)

◆ prop

uint16_t ble_gap_adv_parameter_t::prop

Bit field value provided advertising properties (.

See also
enum gapm_adv_prop for bit signification)

◆ second_cfg

gapm_adv_second_cfg_t ble_gap_adv_parameter_t::second_cfg

Configuration for secondary advertising (valid only if advertising type is GAPM_ADV_TYPE_EXTENDED)

◆ type

uint8_t ble_gap_adv_parameter_t::type

Advertising type (.

See also
enum gapm_adv_type)

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