Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
st_ble_gap_scan_phy_param_t Struct Reference

Scan parameters per scan PHY. More...

Data Fields

uint8_t scan_type
 Scan type. More...
 
uint16_t scan_intv
 Scan interval. More...
 
uint16_t scan_window
 Scan window. More...
 

Detailed Description

Scan parameters per scan PHY.

In case of start scanning with both 1M PHY and Coded PHY, adjust scan windows and scan intervals according to the following.
p_phy_param_1M->scan_window / p_phy_param_1M->scan_intv +
p_phy_param_coded->scan_window / p_phy_param_coded->scan_intv <= 1

Field Documentation

◆ scan_type

uint8_t st_ble_gap_scan_phy_param_t::scan_type

Scan type.

macro description
BLE_GAP_SCAN_PASSIVE(0x00) Passive Scan.
BLE_GAP_SCAN_ACTIVE(0x01) Active Scan.

◆ scan_intv

uint16_t st_ble_gap_scan_phy_param_t::scan_intv

Scan interval.

interval(ms) = scan_intv * 0.625.

Note
Valid range changes depending on the BLE Protocol Stack library type.
All Features : 0x0004 - 0xFFFF
Balance : 0x0004 - 0x4000

◆ scan_window

uint16_t st_ble_gap_scan_phy_param_t::scan_window

Scan window.

window(ms) = scan_window * 0.625.

Note
Valid range changes depending on the BLE Protocol Stack library type.
All Features : 0x0004 - 0xFFFF
Balance : 0x0004 - 0x4000