# Advanced Audio Distribution Profile Source: [https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-a2dp.html](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-a2dp.html) A2DP defines how multimedia audio can be streamed 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 [Log in using SSH](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-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-70017-13/topic/bluez-perform-bluetooth-gap-functions.html#bluez-perform-bluetooth-gap-functions__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.222Copy to clipboard 2. Connect to the SSH by entering the following password: oelinux123Copy to clipboard 3. Open the Bluetooth test application by running the following command: bluetoothctlCopy to clipboard **Sample output** sh-5.1# bluetoothctl Agent registered uetoothd... [CHG] Controller 22:22:F1:C1:99:C0 Pairable: yesCopy 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 transportCopy 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 variablesCopy to clipboard To perform Transport submenu functions in the source, see [Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-a2dp-source-functions.html). To perform Transport submenu functions in the sink, see [Perform Bluetooth A2DP sink functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-a2dp-sink-functions.html). - To go to the Player submenu, run the following command from `bluetoothctl`: menu playerCopy 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 variablesCopy to clipboard To perform Player submenu functions in the sink, see [Perform Bluetooth A2DP sink functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-a2dp-sink-functions.html). - **[Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/doc/80-70017-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-70017-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. **Parent Topic:** [Verify functionality of BlueZ stack](https://docs.qualcomm.com/doc/80-70017-13/topic/verify-bluetooth-functionality-of-bluez-stack.html) Last Published: Dec 26, 2024 [Previous Topic Perform Bluetooth HOGP functions](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-perform-bluetooth-hogp-functions.md) [Next Topic Perform Bluetooth A2DP source functions](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-perform-bluetooth-a2dp-source-functions.md)