Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
Information about the successful synchronization with periodic advertising. More...
#include <bluetooth.h>
Data Fields | |
const bt_addr_le_t * | addr |
Advertiser LE address and type. | |
uint8_t | sid |
Advertising Set Identifier, valid range BT_GAP_SID_MIN to BT_GAP_SID_MAX. | |
uint16_t | interval |
Periodic advertising interval (N * 1.25 ms) | |
uint8_t | phy |
Advertiser PHY (see bt_gap_le_phy). | |
bool | recv_enabled |
True if receiving periodic advertisements, false otherwise. | |
uint16_t | service_data |
Service Data provided by the peer when sync is transferred. | |
struct bt_conn * | conn |
Peer that transferred the periodic advertising sync. | |
Information about the successful synchronization with periodic advertising.
This struct provides information about the periodic advertising sync once it has been successfully established. It includes the advertiser's address, SID, the advertising interval, PHY, and the synchronization state. It also contains details about the sync, such as service data and the peer device that transferred the sync. When using periodic advertising response (configured via CONFIG_BT_PER_ADV_SYNC_RSP
), additional details such as subevent information and response timings are provided.
const bt_addr_le_t* bt_le_per_adv_sync_synced_info::addr |
Advertiser LE address and type.
struct bt_conn* bt_le_per_adv_sync_synced_info::conn |
Peer that transferred the periodic advertising sync.
Will always be NULL when the sync is locally created.
uint16_t bt_le_per_adv_sync_synced_info::interval |
Periodic advertising interval (N * 1.25 ms)
uint8_t bt_le_per_adv_sync_synced_info::phy |
Advertiser PHY (see bt_gap_le_phy).
bool bt_le_per_adv_sync_synced_info::recv_enabled |
True if receiving periodic advertisements, false otherwise.
uint16_t bt_le_per_adv_sync_synced_info::service_data |
Service Data provided by the peer when sync is transferred.
Will always be 0 when the sync is locally created.
uint8_t bt_le_per_adv_sync_synced_info::sid |
Advertising Set Identifier, valid range BT_GAP_SID_MIN to BT_GAP_SID_MAX.