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

The demo application provides a description on how to use the demo application to connect two configured boards and communicate over bluetoothLE. The included application registers a custom service on a board when the stack is initialized.

Device 1 (Server) setup on the demo application
  1. To start, one of the devices has to have the Immediate Alert service running on it. It can be started by running RegisterIAS.
  2. Next, the device acting as a Server needs to advertise to other devices. This can be done by running AdvertiseLE 1.
    GUID-20210311-CA0I-T0QP-ZHWJ-VFSBKGWX3L7S-low.png Figure 20-2 FMP Demo Register IAS Service
Device 2 (Client) setup on the demo application
Note: Steps 1 and 2 below are optional if you already know the Bluetooth address of the device that you want to connect to.
  1. The Client LE device can try to find which LE devices are in the vicinity issuing the command: StartScanning.
  2. Once you have found the device, you can stop scanning by issuing the command: StopScanning.
    GUID-20210311-CA0I-TTBT-L7F0-LQ07HD095TZQ-low.png Figure 20-3 FMP Demo Scanning
Initiating connection from device 2
  1. Once the application on the Client side knows the Bluetooth address of the device that is advertising, it can connect to that device issuing the command: ConnectLE <Bluetooth Address> 0 0
    Note: 0 is used for both parameters since both devices use Public addresses, if using Random addresses use 1 for the address type parameters.
    GUID-20210311-CA0I-DHBV-8GQ0-XWK2X2C9XJNP-low.png Figure 20-4 FMP Demo Connect LE
Identify supported services
  1. After initialization, the Client needs to find out whether LLS, IAS and TPS services are supported. For this the commands, DiscoverLLS, DiscoverIAS, DiscoverTPS are run on the Client. After the service discovery operation is complete, the LLS, IAS and TPS Service Discovery Summary and list of supported features are shown.
    GUID-20210311-CA0I-FXHX-1PFD-3DHNXBF84FRP-low.png Figure 20-5 FMP Demo Discover IAS
Configuring Alert Level
  1. The Client can configure the alert level which will get notified on the Server.
    GUID-20210311-CA0I-RQSX-MLWK-DBJ3XQ9WDW2F-low.png Figure 20-6 FMP Demo Discover IAS
    GUID-20210311-CA0I-RPDZ-F2MN-3TVNMFG8J1S0-low.png Figure 20-7 FMP Demo Connection Complete