InPlay API
adv_create_param_t Struct Reference

Advertisement activity create structure. More...

#include <in_ble_gap.h>

Data Fields

uint8_t type
 advertising type, More...
 
uint8_t disc_mode
 advertising mode, More...
 
uint16_t prop
 advertising properties, More...
 
int8_t max_tx_pwr
 Maximum power level at which the advertising packets have to be transmitted (between -127 and 126 dBm).
 
uint8_t filter_pol
 Advertising filtering policy,. More...
 
ble_bdaddr_t peer_addr
 Peer address configuration (only used in case of directed advertising).
 
struct adv_prim_cfg prim_cfg
 Configuration for primary advertising.
 
struct adv_second_cfg second_cfg
 Configuration for secondary advertising (valid only if advertising type is ADV_TYPE_EXTENDED or ADV_TYPE_PERIODIC).
 
struct adv_period_cfg period_cfg
 Configuration for periodic advertising (valid only if advertising type is ADV_TYPE_PERIODIC).
 

Detailed Description

Advertisement activity create structure.

Field Documentation

◆ disc_mode

uint8_t disc_mode

advertising mode,

See also
enum in_ble_adv_disc_mode

◆ filter_pol

uint8_t filter_pol

Advertising filtering policy,.

See also
enum in_ble_adv_filt_pol

◆ prop

uint16_t prop

advertising properties,

See also
enum in_ble_adv_legacy_prop,
enum in_ble_adv_ext_prop,
enum in_ble_adv_per_prop

◆ type

uint8_t type

advertising type,

See also
enum in_ble_adv_type