• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/29-Dec-2025-3024

src/29-Dec-2025-773583

CMakeLists.txtD29-Dec-2025339 128

KconfigD29-Dec-2025815 3023

README.rstD29-Dec-20251 KiB3323

prj.confD29-Dec-2025200 109

sample.yamlD29-Dec-2025456 2221

README.rst

1.. zephyr:code-sample:: bluetooth_a2dp_sink
2   :name: A2DP Sink
3   :relevant-api: bt_a2dp bluetooth
4
5   Use A2DP (Advanced Audio Distribution Profile) sink functionality.
6
7Overview
8********
9
10This sample demonstrates the A2DP (Advanced Audio Distribution Profile) sink
11functionality using Zephyr's Bluetooth Classic APIs. The application acts as an
12A2DP sink device, it can be discovered and connected from A2DP source devices
13such as smartphones, tablets, and computers, and receive and process audio streams
14from A2DP source devices.
15
16Requirements
17************
18
19* Running on the host with Bluetooth BR/EDR (Classic) support, or
20* A board with Bluetooth BR/EDR (Classic) support
21
22Building and Running
23********************
24
251. Build and flash the sample to the board.
262. The device will become discoverable as "a2dp_sink".
273. Connect and stream audio on your A2DP source device.
28
29This sample can be found under :zephyr_file:`samples/bluetooth/classic/a2dp_sink` in
30the Zephyr tree.
31
32See :zephyr:code-sample-category:`bluetooth` samples for details.
33