# Advanced Audio Distribution Profile A2DP defines how to stream multimedia audio from one device to another over a Bluetooth connection. This mechanism is also called as Bluetooth audio streaming. To perform A2DP source or sink functions, you must first complete the steps in the following procedure. ## Set up device for A2DP functions **Prerequisites** - Enable SSH to access your host device. For instructions, see [Sign in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-254/how_to.html#use-ssh). - Pair the DUT and the remote device. For instructions, see [Pair with a remote Bluetooth device](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-gap-functions.html#section-h4c-1bs-lcc-navyanka-08-21-24-1205-46-507). - Place the DUT and the remote device in the Bluetooth vicinity. **Procedure** 1. Run the SSH in command prompt using the following command: ssh root@ Copy to clipboard **Example** If the IP address of the device is `10.92.160.222`, run the following command: ssh root@10.92.160.222 Copy to clipboard 2. Connect to the SSH by entering the following password: oelinux123 Copy to clipboard 3. Open the Bluetooth test application by running the following command: bluetoothctl Copy to clipboard **Sample output** sh-5.1# bluetoothctl Agent registered uetoothd... [CHG] Controller 22:22:F1:C1:99:C0 Pairable: yes Copy to clipboard 4. Go to the **Transport submenu** or **Player submenu**, as required. - To go to the **Transport submenu**, run the following command from `bluetoothctl`: menu transport Copy to clipboard **Sample output** [bluetooth]# menu transport Menu transport: Available commands: ------------------- list List available transports show Transport information acquire Acquire Transport release Release Transport send Send contents of a file receive [filename] Get/Set file to receive volume [value] Get/Set transport volume back Return to main menu version Display version quit Quit program exit Quit program help Display help about this program export Print environment variables Copy to clipboard To perform **Transport submenu** functions in the source, see [Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-a2dp-source-functions.html#bluez-perform-bluetooth-a2dp-source-functions). To perform **Transport submenu** functions in the sink, see [Perform Bluetooth A2DP sink functions](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-a2dp-sink-functions.html#bluez-perform-bluetooth-a2dp-sink-functions). - To go to the **Player submenu**, run the following command from `bluetoothctl`: menu player Copy to clipboard **Sample output** [bluetooth]# menu player Menu player: Available commands: ------------------- list List available players show [player] Player information select Select default player play [item] Start playback pause Pause playback stop Stop playback next Jump to next item previous Jump to previous item fast-forward Fast forward playback rewind Rewind playback equalizer Enable/Disable equalizer repeat Set repeat mode shuffle Set shuffle mode scan Set scan mode change-folder Change current folder list-items [start] [end] List items of current folder search Search items containing string queue Add item to playlist queue show-item Show item information back Return to main menu version Display version quit Quit program exit Quit program help Display help about this program export Print environment variables Copy to clipboard To perform **Player submenu** functions in the sink, see [Perform Bluetooth A2DP sink functions](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-a2dp-sink-functions.html#bluez-perform-bluetooth-a2dp-sink-functions). ## Next steps - [Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-a2dp-source-functions.html) You can perform Bluetooth A2DP source functions using the `bluetoothctl` menu, `menu transport` submenu, and `paplay` commands. - [Perform Bluetooth A2DP sink functions](https://docs.qualcomm.com/doc/80-70020-13/topic/bluez-perform-bluetooth-a2dp-sink-functions.html) You can perform Bluetooth A2DP sink functions using the `bluetoothctl` menu, `menu transport` submenu, and `menu player` submenu. Last Published: Jun 26, 2025 [Previous Topic Human Interface Device over GATT Profile](https://docs.qualcomm.com/bundle/publicresource/80-70020-13/topics/bluez-hogp.md) [Next Topic Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/bundle/publicresource/80-70020-13/topics/bluez-perform-bluetooth-a2dp-source-functions.md)