NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
ble_gap_adv_params Struct Reference

#include <ble_gap.h>

Public Attributes

uint8_t conn_mode
 
uint8_t disc_mode
 
uint16_t itvl_min
 
uint16_t itvl_max
 
uint8_t channel_map
 
uint8_t filter_policy
 
uint8_t high_duty_cycle:1
 

Detailed Description

Advertising parameters

Member Data Documentation

◆ channel_map

uint8_t ble_gap_adv_params::channel_map

Advertising channel map , if 0 stack use sane defaults

◆ conn_mode

uint8_t ble_gap_adv_params::conn_mode

Advertising mode. Can be one of following constants:

  • BLE_GAP_CONN_MODE_NON (non-connectable; 3.C.9.3.2).
  • BLE_GAP_CONN_MODE_DIR (directed-connectable; 3.C.9.3.3).
  • BLE_GAP_CONN_MODE_UND (undirected-connectable; 3.C.9.3.4).

◆ disc_mode

uint8_t ble_gap_adv_params::disc_mode

Discoverable mode. Can be one of following constants:

  • BLE_GAP_DISC_MODE_NON (non-discoverable; 3.C.9.2.2).
  • BLE_GAP_DISC_MODE_LTD (limited-discoverable; 3.C.9.2.3).
  • BLE_GAP_DISC_MODE_GEN (general-discoverable; 3.C.9.2.4).

◆ filter_policy

uint8_t ble_gap_adv_params::filter_policy

Advertising Filter policy

◆ high_duty_cycle

uint8_t ble_gap_adv_params::high_duty_cycle

If do High Duty cycle for Directed Advertising

◆ itvl_max

uint16_t ble_gap_adv_params::itvl_max

Maximum advertising interval, if 0 stack use sane defaults

◆ itvl_min

uint16_t ble_gap_adv_params::itvl_min

Minimum advertising interval, if 0 stack use sane defaults