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

This structure notifies that a Periodic sync has been established. More...

Data Fields

uint16_t sync_hdl
 Sync handle identifying the Periodic Sync that has been established. More...
 
uint8_t adv_sid
 Advertising SID identifying the advertising set that has established the Periodic Sync. More...
 
uint8_t adv_addr_type
 Address type of the advertiser. More...
 
uint8_t * p_adv_addr
 Address of the advertiser. More...
 
uint8_t adv_phy
 Advertising PHY. More...
 
uint16_t perd_adv_intv
 Periodic Advertising Interval. More...
 
uint8_t adv_clk_acc
 Advertiser Clock Accuracy. More...
 

Detailed Description

This structure notifies that a Periodic sync has been established.

Field Documentation

◆ sync_hdl

uint16_t st_ble_gap_sync_est_evt_t::sync_hdl

Sync handle identifying the Periodic Sync that has been established.

◆ adv_sid

uint8_t st_ble_gap_sync_est_evt_t::adv_sid

Advertising SID identifying the advertising set that has established the Periodic Sync.

◆ adv_addr_type

uint8_t st_ble_gap_sync_est_evt_t::adv_addr_type

Address type of the advertiser.

value description
0x00 Public Address.
0x01 Random Address.
0x02 Public Identity Address which could be resolved in Controller.
0x03 Random Identity Address which could be resolved in Controller.

◆ p_adv_addr

uint8_t* st_ble_gap_sync_est_evt_t::p_adv_addr

Address of the advertiser.

Note
The BD address setting format is little endian.

◆ adv_phy

uint8_t st_ble_gap_sync_est_evt_t::adv_phy

Advertising PHY.

value description
0x01 Advertiser PHY is 1M PHY.
0x02 Advertiser PHY is 2M PHY.
0x03 Advertiser PHY is Coded PHY.

◆ perd_adv_intv

uint16_t st_ble_gap_sync_est_evt_t::perd_adv_intv

Periodic Advertising Interval.

Valid range is 0x0006 - 0xFFFF.
Time(ms) = perd_adv_intv * 1.25.

◆ adv_clk_acc

uint8_t st_ble_gap_sync_est_evt_t::adv_clk_acc

Advertiser Clock Accuracy.

value description
0x00 500ppm
0x01 250ppm
0x02 150ppm
0x03 100ppm
0x04 75ppm
0x05 50ppm
0x06 30ppm
0x07 20ppm