nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
broadcast_sink.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _BROADCAST_SINK_H_
8#define _BROADCAST_SINK_H_
9
10#include "bt_le_audio_tx.h"
11
23
34int broadcast_sink_config_get(uint32_t *bitrate, uint32_t *sampling_rate, uint32_t *pres_delay);
35
44int broadcast_sink_pa_sync_set(struct bt_le_per_adv_sync *pa_sync, uint32_t broadcast_id);
45
55int broadcast_sink_broadcast_code_set(uint8_t *broadcast_code);
56
63
70
77
86
87#endif /* _BROADCAST_SINK_H_ */
int broadcast_sink_start(void)
Start the Bluetooth LE Audio broadcast sink.
int broadcast_sink_config_get(uint32_t *bitrate, uint32_t *sampling_rate, uint32_t *pres_delay)
Get configuration for the audio stream.
int broadcast_sink_change_active_audio_stream(void)
Change the active audio stream if the broadcast isochronous group (BIG) contains more than one broadc...
int broadcast_sink_stop(void)
Stop the Bluetooth LE Audio broadcast sink.
int broadcast_sink_disable(void)
Disable the LE Audio broadcast (BIS) sink.
int broadcast_sink_enable(le_audio_receive_cb recv_cb)
Enable the LE Audio broadcast (BIS) sink.
int broadcast_sink_broadcast_code_set(uint8_t *broadcast_code)
Set the broadcast code for the Bluetooth LE Audio broadcast sink. The broadcast code length is define...
int broadcast_sink_pa_sync_set(struct bt_le_per_adv_sync *pa_sync, uint32_t broadcast_id)
Set periodic advertising sync.
void(* le_audio_receive_cb)(const uint8_t *const data, size_t size, bool bad_frame, uint32_t sdu_ref, enum audio_channel channel_index, size_t desired_size)
Callback for receiving Bluetooth LE Audio data.
Definition: le_audio.h:54