Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
cy_stc_ble_gapp_disc_param_t Struct Reference

Description

Advertising parameters.

Data Fields

uint16_t advIntvMin
 Minimum advertising interval for undirected and low duty cycle directed advertising Range: 0x0020 to 0x4000 Unit: 0.625ms Time Range: 20 ms to 10.24 sec.
 
uint16_t advIntvMax
 Maximum advertising interval for undirected and low duty cycle directed advertising. More...
 
cy_en_ble_gapp_adv_t advType
 Type of advertisement. More...
 
uint8_t ownAddrType
 Own BD Address Type. More...
 
uint8_t directAddrType
 Address type of the Bluetooth device address being used for directed advertising, not applicable otherwise. More...
 
uint8_t directAddr [CY_BLE_GAP_BD_ADDR_SIZE]
 This parameter specifies Bluetooth device address of the device to be connected while using directed advertising. More...
 
uint8_t advChannelMap
 Advertising channels that shall be used when transmitting advertising packets. More...
 
uint8_t advFilterPolicy
 Advertising Filter Policy. More...
 

Field Documentation

◆ advIntvMax

uint16_t cy_stc_ble_gapp_disc_param_t::advIntvMax

Maximum advertising interval for undirected and low duty cycle directed advertising.

Range: 0x0020 to 0x4000 Unit: 0.625ms Time Range: 20 ms to 10.24 sec.

◆ advType

cy_en_ble_gapp_adv_t cy_stc_ble_gapp_disc_param_t::advType

Type of advertisement.

  • Connectable undirected advertising (0x00)
  • Connectable high duty cycle directed advertising (0x01)
  • Scannable undirected advertising (0x02)
  • Non connectable undirected advertising (0x03)
  • Connectable low duty cycle directed advertising (0x04)

◆ ownAddrType

uint8_t cy_stc_ble_gapp_disc_param_t::ownAddrType

Own BD Address Type.

  • CY_BLE_GAP_ADDR_TYPE_PUBLIC
  • CY_BLE_GAP_ADDR_TYPE_RANDOM
  • CY_BLE_GAP_ADDR_TYPE_PUBLIC_RPA
  • CY_BLE_GAP_ADDR_TYPE_RANDOM_RPA

◆ directAddrType

uint8_t cy_stc_ble_gapp_disc_param_t::directAddrType

Address type of the Bluetooth device address being used for directed advertising, not applicable otherwise.

  • CY_BLE_GAP_ADDR_TYPE_PUBLIC (Public device address)
  • CY_BLE_GAP_ADDR_TYPE_RANDOM (Random device address)

◆ directAddr

uint8_t cy_stc_ble_gapp_disc_param_t::directAddr[CY_BLE_GAP_BD_ADDR_SIZE]

This parameter specifies Bluetooth device address of the device to be connected while using directed advertising.

In case of none direct advertising, parameter will be 0

◆ advChannelMap

uint8_t cy_stc_ble_gapp_disc_param_t::advChannelMap

Advertising channels that shall be used when transmitting advertising packets.

Channel map selection:

  • Enable channel 37 = bitmask. xxxxxxx1b
  • Enable channel 38 = bitmask. xxxxxx1xb
  • Enable channel 39 = bitmask. xxxxx1xxb

◆ advFilterPolicy

uint8_t cy_stc_ble_gapp_disc_param_t::advFilterPolicy

Advertising Filter Policy.

  • CY_BLE_GAPP_SCAN_ANY_CONN_ANY (Allow Scan Request from Any, Allow Connect Request from Any (Default))
  • CY_BLE_GAPP_SCAN_WHITELIST_CONN_ANY (Allow Scan Request from White List Only, Allow Connect Request)
  • CY_BLE_GAPP_SCAN_ANY_CONN_WHITELIST (Allow Scan Request from Any, Allow Connect Request from White List Only)
  • CY_BLE_GAPP_SCAN_CONN_WHITELIST_ONLY (Allow Scan Request from White List Only, Allow Connect Request from White List Only)