A2DP Source

Browse source code on GitHub

Overview

This sample demonstrates the A2DP (Advanced Audio Distribution Profile) source functionality using Zephyr’s Bluetooth Classic APIs. The application acts as an A2DP source device, it discovers and connects to a A2DP sink device such as Bluetooth speaker and headphone, and streams audio data to it automatically.

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_source
west flash

After flashing, the device discovers nearby A2DP sink devices and starts streaming audio automatically.

See Bluetooth samples for details.

See also

Advanced Audio Distribution Profile (A2DP)
Bluetooth APIs