Skip to main content
To perform Bluetooth GAP functions, you must first complete the steps in the following procedure.

Prerequisites

  • Enable SSH to access your host device. For instructions, see Sign in using SSH.
  • Place the device under test (DUT) and the remote device in the Bluetooth vicinity.

Set up the device for Bluetooth GAP functions

  1. Run the SSH in command prompt using the following command:
    Example If the IP address of the device is 10.92.160.222, run the following command:
  2. Connect to the SSH by entering the following password:
  3. Open the Bluetooth test application by running the following command:
    Sample output
    • To view GAP functions, run the following command:
      This command provides the main menu of bluetoothctl. The main menu includes the submenus and GAP functions. To perform GAP functions, see Perform Bluetooth GAP functions. Sample output
    • To verify the state of Bluetooth on the device, run the following command:
      Sample output

Next steps

Perform Bluetooth GAP functions

You can perform various Bluetooth GAP functions using the commands provided in the main menu of bluetoothctl. Bluetooth GAP functions include enabling and disabling Bluetooth, running and stopping inquiry scans to discover nearby devices, and enabling device discovery mode. GAP also supports pairing with remote Bluetooth devices, viewing the list of bonded or paired devices, and unpairing of devices.