Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
#include <bluetooth.h>
Data Fields | |
void(* | synced )(struct bt_le_per_adv_sync *sync, struct bt_le_per_adv_sync_synced_info *info) |
The periodic advertising has been successfully synced. | |
void(* | term )(struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_term_info *info) |
The periodic advertising sync has been terminated. | |
void(* | recv )(struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_recv_info *info, struct net_buf_simple *buf) |
Periodic advertising data received. | |
void(* | state_changed )(struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_state_info *info) |
The periodic advertising sync state has changed. | |
void(* | biginfo )(struct bt_le_per_adv_sync *sync, const struct bt_iso_biginfo *biginfo) |
BIGInfo advertising report received. | |
void(* | cte_report_cb )(struct bt_le_per_adv_sync *sync, struct bt_df_per_adv_sync_iq_samples_report const *info) |
Callback for IQ samples report collected when sampling CTE received with periodic advertising PDU. | |
sys_snode_t | node |
void(* bt_le_per_adv_sync_cb::biginfo) (struct bt_le_per_adv_sync *sync, const struct bt_iso_biginfo *biginfo) |
BIGInfo advertising report received.
This callback notifies the application of a BIGInfo advertising report. This is received if the advertiser is broadcasting isochronous streams in a BIG. See iso.h for more information.
sync | The advertising set object. |
biginfo | The BIGInfo report. |
void(* bt_le_per_adv_sync_cb::cte_report_cb) (struct bt_le_per_adv_sync *sync, struct bt_df_per_adv_sync_iq_samples_report const *info) |
Callback for IQ samples report collected when sampling CTE received with periodic advertising PDU.
sync | The periodic advertising sync object. |
info | Information about the sync event. |
sys_snode_t bt_le_per_adv_sync_cb::node |
void(* bt_le_per_adv_sync_cb::recv) (struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_recv_info *info, struct net_buf_simple *buf) |
Periodic advertising data received.
This callback notifies the application of an periodic advertising report.
sync | The advertising set object. |
info | Information about the periodic advertising event. |
buf | Buffer containing the periodic advertising data. NULL if the controller failed to receive a subevent indication. Only happens if CONFIG_BT_PER_ADV_SYNC_RSP is enabled. |
void(* bt_le_per_adv_sync_cb::state_changed) (struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_state_info *info) |
The periodic advertising sync state has changed.
This callback notifies the application about changes to the sync state. Initialize sync and termination is handled by their individual callbacks, and won't be notified here.
sync | The periodic advertising sync object. |
info | Information about the state change. |
void(* bt_le_per_adv_sync_cb::synced) (struct bt_le_per_adv_sync *sync, struct bt_le_per_adv_sync_synced_info *info) |
The periodic advertising has been successfully synced.
This callback notifies the application that the periodic advertising set has been successfully synced, and will now start to receive periodic advertising reports.
sync | The periodic advertising sync object. |
info | Information about the sync event. |
void(* bt_le_per_adv_sync_cb::term) (struct bt_le_per_adv_sync *sync, const struct bt_le_per_adv_sync_term_info *info) |
The periodic advertising sync has been terminated.
This callback notifies the application that the periodic advertising sync has been terminated, either by local request, remote request or because due to missing data, e.g. by being out of range or sync.
sync | The periodic advertising sync object. |