SWRU580 April   2021 CC2564C , CC2564MODA , CC2564MODN

 

  1.   Trademarks
  2. Introduction
  3. A2DP (AUD) Demo Guide
    1. 2.1 Demo Overview
    2. 2.2 Demo Application
    3. 2.3 Application Commands
  4. A3DP Sink Demo Guide
    1. 3.1 Demo Overview
    2. 3.2 Demo Application
    3. 3.3 Sink Reference Board Demo Application
    4. 3.4 Multiple Source Demo
    5. 3.5 Application Commands
  5. A3DP Source Demo Guide
    1. 4.1 Demo Overview
    2. 4.2 Demo Application
    3. 4.3 Application Commands
  6. HFP Demo Guide
    1. 5.1 Demo Overview
    2. 5.2 Demo Application
    3. 5.3 Application Commands
  7. HFP Audio Gateway Demo Guide
    1. 6.1 Demo Overview
    2. 6.2 Demo Application
    3. 6.3 Application Commands
  8. HID Demo Guide
    1. 7.1 Demo Overview
    2. 7.2 Demo Application
    3. 7.3 Application Commands
  9. HSP Demo Guide
    1. 8.1 Demo Overview
    2. 8.2 Demo Application
    3. 8.3 Application Command
  10. Map Demo Guide
    1. 9.1 Demo Overview
    2. 9.2 Demo Application
    3. 9.3 Application Command
  11. 10PBAP Demo Guide
    1. 10.1 Demo Overview
    2. 10.2 Demo Application
    3. 10.3 Application Commands
  12. 11SPP Demo Guide
    1. 11.1 Demo Overview
    2. 11.2 Demo Application
    3. 11.3 Application Commands
  13. 12SPPLE Demo Guide
    1. 12.1 Demo Overview
    2. 12.2 Demo Application
    3. 12.3 Demonstrating SPP LE on an iOS Device with the LightBlue App
    4. 12.4 Demonstrating SPP LE on an iOS Device with the SPPLE Transfer App - LEGACY
    5. 12.5 SPP Demo
    6. 12.6 Application Commands
  14. 13SPPDMMulti Demo Guide
    1. 13.1 Demo Overview
    2. 13.2 Demo Application
    3. 13.3 Application Commands
  15. 14ANP Demo Guide
    1. 14.1 Demo Overview
    2. 14.2 Demo Application
    3. 14.3 Application Commands
  16. 15HFP Demo Guide
    1. 15.1 Demo Overview
    2. 15.2 Demo Application
    3. 15.3 Application Commands
  17. 16HTP Demo Guide
    1. 16.1 Demo Overview
    2. 16.2 Demo Application
    3. 16.3 Application Commands
  18. 17PASP Demo Guide
    1. 17.1 Demo Overview
    2. 17.2 Demo Application
    3. 17.3 Application Commands
  19. 18HOGP Demo Guide
    1. 18.1 Demo Overview
    2. 18.2 Demo Application
    3. 18.3 Application Commands
  20. 19PXP Demo Guide
    1. 19.1 Demo Overview
    2. 19.2 Demo Application
    3. 19.3 Applications Commands
  21. 20FMP Demo Guide
    1. 20.1 Demo Overview
    2. 20.2 Demo Application
    3. 20.3 Application Commands
  22. 21CSCP Demo Guide
    1. 21.1 Demo Overview
    2. 21.2 Demo Application
    3. 21.3 Application Commands
  23. 22Revision History

Demo Application

This section provides a description of how to use the demo application to connect an audio source to it and communicate over Bluetooth.

Device 1 (Sink) setup on the demo application
  1. Follow the steps in the running the bluetooth code section to setup the sink.
  2. Set the name of the device. In the A3DP+SNK>>> prompt enter SetLocalName a3dpmsp430. Note that you can replace a3dpmsp430 with any other name.
  3. If you are connecting to an Apple Device, you will need to set the class of device as well. In the A3DP+SNK>>> prompt enter SetClassOfDevice0x040424. This set's the class of device to a headset.
  4. Open the A3DP sink. In the A3DP+SNK>>> prompt enter OpenSink. This opens an A3DP endpoint.
    GUID-20210311-CA0I-GJ1C-QTR0-SL1L7B5RCKFX-low.jpg Figure 3-2 A3DP Sink Demo Set Terminal
Source Setup

The A3DP source can be any application that can transmit audio. For our example, we will use an android phone as the demo.

  1. Open the bluetooth settings menu on the android phone(Settings->Bluetooth). We should get a menu like this.
  2. Hit on search for devices. The phone should begin looking for other bluetooth devices.
    GUID-20210311-CA0I-XTZ3-R4W8-9GDPLRW5RK8F-low.jpg Figure 3-3 A3DP Sink Demo Bluetooth Settings
  3. A A3DPDemo should appear like shown below in the picture. Click on the device to begin pairing.
    GUID-20210311-CA0I-6DVX-VHJV-244B5B72FKVM-low.jpg Figure 3-4 A3DP Sink Search for Devices
  4. After the devices are paired, the device should show connected on the phone side and on the MSP430.
    GUID-20210311-CA0I-LCXL-TB9K-VGRMBVSPM9NM-low.jpg Figure 3-5 A3DP Sink Demo Paired Phone
    GUID-20210311-CA0I-RCBP-LFZC-GFB9HRJW6CGF-low.jpg Figure 3-6 A3DP Connected MSP430
  5. You can now control the audio of device 2 from the sink reference board board.
A3DP Commands
  1. Open any music application, In the A3DP+SNK>>> prompt enter RemotePlay. A track starts playing on the device.
  2. In the A3DP+SNK>>> prompt enter RemotePause. The current track is paused.
    GUID-20210311-CA0I-1DQK-L3C7-20M58SPD0QR0-low.jpg Figure 3-7 AD3P Sink Demo Play and Pause
  3. In the A3DP+SNK>>> prompt enter RemoteNext. The next track is played.
  4. In the A3DP+SNK>>> prompt enter RemotePrev. The previous track is played.
    GUID-20210311-CA0I-VCK5-JV83-VX8BDSDFKP8G-low.jpg Figure 3-8 AD3P Sink Demo Prev and Next