| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <bap.h>
Data Fields | |
| void(* | recv_state_updated )(struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state) | 
| Receive state updated.  More... | |
| int(* | pa_sync_req )(struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, bool past_avail, uint16_t pa_interval) | 
| Periodic advertising sync request.  More... | |
| int(* | pa_sync_term_req )(struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state) | 
| Periodic advertising sync termination request.  More... | |
| void(* | broadcast_code )(struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, const uint8_t broadcast_code[BT_AUDIO_BROADCAST_CODE_SIZE]) | 
| Broadcast code received.  More... | |
| int(* | bis_sync_req )(struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, const uint32_t bis_sync_req[0]) | 
| Broadcast Isochronous Stream synchronize request.  More... | |
| int(* bt_bap_scan_delegator_cb::bis_sync_req) (struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, const uint32_t bis_sync_req[0]) | 
Broadcast Isochronous Stream synchronize request.
Request from Broadcast Assistant device to modify the Broadcast Isochronous Stream states. The request shall be fulfilled with accordance to the bis_sync_req within reasonable time. The Broadcast Assistant may also request fewer, or none, indexes to be synchronized.
| [in] | conn | Pointer to the connection of the Broadcast Assistant requesting the sync. | 
| [in] | recv_state | Pointer to the receive state that is being requested for the sync. | 
| [in] | bis_sync_req | Array of bitfields of which BIS indexes that is requested to sync for each subgroup by the Broadcast Assistant. | 
| void(* bt_bap_scan_delegator_cb::broadcast_code) (struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, const uint8_t broadcast_code[BT_AUDIO_BROADCAST_CODE_SIZE]) | 
Broadcast code received.
Broadcast code received from a broadcast assistant
| conn | Pointer to the connection providing the broadcast code. | 
| recv_state | Pointer to the receive state the broadcast code is being provided for. | 
| broadcast_code | The 16-octet broadcast code | 
| int(* bt_bap_scan_delegator_cb::pa_sync_req) (struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state, bool past_avail, uint16_t pa_interval) | 
Periodic advertising sync request.
Request from peer device to synchronize with the periodic advertiser denoted by the recv_state. To notify the Broadcast Assistant about any pending sync
| [in] | conn | Pointer to the connection requesting the periodic advertising sync. | 
| [in] | recv_state | Pointer to the receive state that is being requested for periodic advertising sync. | 
| [in] | past_avail | True if periodic advertising sync transfer is available. | 
| [in] | pa_interval | The periodic advertising interval. | 
| [out] | past_sync | Set to true if syncing via periodic advertising sync transfer, false otherwise. If past_avail is false, this value is ignored. | 
| int(* bt_bap_scan_delegator_cb::pa_sync_term_req) (struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state) | 
Periodic advertising sync termination request.
Request from peer device to terminate the periodic advertiser sync denoted by the recv_state.
| conn | Pointer to the connection requesting the periodic advertising sync termination. | 
| recv_state | Pointer to the receive state that is being requested for periodic advertising sync. | 
| void(* bt_bap_scan_delegator_cb::recv_state_updated) (struct bt_conn *conn, const struct bt_bap_scan_delegator_recv_state *recv_state) | 
Receive state updated.
| conn | Pointer to the connection to a remote device if the change was caused by it, otherwise NULL. | 
| recv_state | Pointer to the receive state that was updated. |