dragoon  4383
 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_t const * p_peer_addr
 
uint8_t fp
 
uint16_t interval
 
uint16_t timeout
 
ble_gap_adv_ch_mask_t channel_mask
 

Detailed Description

GAP advertising parameters.

Definition at line 594 of file ble_gap.h.

Field Documentation

ble_gap_adv_ch_mask_t ble_gap_adv_params_t::channel_mask

Advertising channel mask. See ble_gap_adv_ch_mask_t.

Definition at line 607 of file ble_gap.h.

uint8_t ble_gap_adv_params_t::fp

Filter Policy, see GAP Advertising filter policies.

Definition at line 602 of file ble_gap.h.

uint16_t ble_gap_adv_params_t::interval

Advertising interval between 0x0020 and 0x4000 in 0.625 ms units (20 ms to 10.24 s), see GAP Advertising interval max and min.

Definition at line 603 of file ble_gap.h.

ble_gap_addr_t const* ble_gap_adv_params_t::p_peer_addr

Address of a known peer.

  • When privacy is enabled and the local device use BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE addresses, the device identity list is searched for a matching entry. If the local IRK for that device identity is set, the local IRK for that device will be used to generate the advertiser address field in the advertise packet.
  • If type is BLE_GAP_ADV_TYPE_ADV_DIRECT_IND, this must be set to the targeted initiator. If the initiator is in the device identity list, the peer IRK for that device will be used to generate the initiator address field in the ADV_DIRECT_IND packet.

Definition at line 597 of file ble_gap.h.

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.

Definition at line 606 of file ble_gap.h.

uint8_t ble_gap_adv_params_t::type

See GAP Advertising types.

Definition at line 596 of file ble_gap.h.


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