A2DP Sink

Browse source code on GitHub

Overview

This sample demonstrates the A2DP (Advanced Audio Distribution Profile) sink functionality using Zephyr’s Bluetooth Classic APIs. The application acts as an A2DP sink device, it can be discovered and connected from A2DP source devices such as smartphones, tablets, and computers, and receive and process audio streams from A2DP source devices.

Requirements

  • Running on the host with Bluetooth BR/EDR (Classic) support, or

  • A board with Bluetooth BR/EDR (Classic) support

Building and Running

west build -b mimxrt1170_evk@B/mimxrt1176/cm7 samples/bluetooth/classic/a2dp_sink
west flash

After flashing, the device becomes discoverable as a2dp_sink. Connect and stream audio from your A2DP source device.

See Bluetooth samples for details.

See also

Advanced Audio Distribution Profile (A2DP)
Bluetooth APIs