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

Description

Discovery (scan) parameter.

Data Fields

uint8_t discProcedure
 Observation and discovery procedure. More...
 
uint8_t scanType
 Type of scan to perform. More...
 
uint16_t scanIntv
 The time interval from when last LE scan is started until next subsequent LE scan. More...
 
uint16_t scanWindow
 The time duration of scanning to be performed Range: 0x0004 to 0x4000 Unit: 0.625 msec Time Range: 2.5 ms to 10.24 sec.
 
uint8_t ownAddrType
 Own BD Address Type. More...
 
uint8_t scanFilterPolicy
 Filter policies to be applied during scanning procedure. More...
 
uint16_t scanTo
 Scan time out is in seconds. More...
 
uint8_t filterDuplicates
 Filter Duplicate Advertisements. More...
 

Field Documentation

◆ discProcedure

uint8_t cy_stc_ble_gapc_disc_info_t::discProcedure

Observation and discovery procedure.

  • CY_BLE_GAPC_OBSER_PROCEDURE (Observation procedure)
  • CY_BLE_GAPC_LTD_DISC_PROCEDURE (Limited discovery procedure)
  • CY_BLE_GAPC_GEN_DISC_PROCEDURE (General discovery procedure)

◆ scanType

uint8_t cy_stc_ble_gapc_disc_info_t::scanType

Type of scan to perform.

  • CY_BLE_GAPC_PASSIVE_SCANNING (Passive Scanning)
  • CY_BLE_GAPC_ACTIVE_SCANNING (Active scanning)

◆ scanIntv

uint16_t cy_stc_ble_gapc_disc_info_t::scanIntv

The time interval from when last LE scan is started until next subsequent LE scan.

Range: 0x0004 to 0x4000 Unit: 0.625 msec Time Range: 2.5 ms to 10.24 sec.

◆ ownAddrType

uint8_t cy_stc_ble_gapc_disc_info_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

◆ scanFilterPolicy

uint8_t cy_stc_ble_gapc_disc_info_t::scanFilterPolicy

Filter policies to be applied during scanning procedure.

  • CY_BLE_GAPC_ADV_ACCEPT_ALL_PKT
  • CY_BLE_GAPC_ADV_ACCEPT_WHITELIST_PKT
  • CY_BLE_GAPC_ADV_ACCEPT_DIRECTED_RPA_PKT
  • CY_BLE_GAPC_ADV_ACCEPT_WHITELIST_DIRECTED_RPA_PKT

◆ scanTo

uint16_t cy_stc_ble_gapc_disc_info_t::scanTo

Scan time out is in seconds.

If time out is set to 0, then there will not be any time out.

◆ filterDuplicates

uint8_t cy_stc_ble_gapc_disc_info_t::filterDuplicates

Filter Duplicate Advertisements.

This parameter controls whether the Link Layer shall filter duplicate advertising reports to the Host, or whether the Link Layer should generate advertising reports for each packet received.

  • CY_BLE_GAPC_FILTER_DUP_DISABLE (Duplicate filtering disabled)
  • CY_BLE_GAPC_FILTER_DUP_ENABLE (Duplicate filtering enabled)

By default, duplicate filtering is enabled