> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify OPP functions

> OPP defines how two Bluetooth devices can exchange objects, such as business cards, images, wallpapers, ringtones, or videos.

To perform Bluetooth OPP 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](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh).

* Pair the DUT and the remote device. For instructions, see [Pair with a remote Bluetooth device](https://dragonwingdocs.qualcomm.com/archives/2.0/Technologies/Bluetooth/perform-bluetooth-gap-functions.md#pair-with-a-remote-bluetooth-device).

* Place the DUT and the remote device in the Bluetooth vicinity.

## Set up the device for Bluetooth OPP functions

1. Run the SSH in command prompt using the following command:

   ```text theme={null}
   ssh root@<device_IP_address>
   ```

   **Example**

   If the IP address of the device is `10.92.160.222`, run the following command:

   ```text theme={null}
   ssh root@10.92.160.222
   ```

2. Connect to the SSH by entering the following password:

   ```text theme={null}
   oelinux123
   ```

3. Open the Bluetooth test application by running the following command:

   ```text theme={null}
   obexctl
   ```

   To view OBEX functions, run the following command:

   ```text theme={null}
   help
   ```

   This command provides the main menu of **obexctl**. To perform OPP server and client functions, see [Perform Bluetooth OPP server functions](https://dragonwingdocs.qualcomm.com/archives/2.0/Technologies/Bluetooth/perform-bluetooth-opp-server-functions.md) and [Perform Bluetooth OPP client functions](https://dragonwingdocs.qualcomm.com/archives/2.0/Technologies/Bluetooth/perform-bluetooth-opp-client-functions.md).

   **Sample output**

   ```text theme={null}
   sh-5.1# obexctl
   [NEW] Client /org/bluez/obex
   [obex]# help
   Menu main:
   Available commands:
   -------------------
   connect <dev> [uuid] [channel]                    Connect session
   disconnect [session]                              Disconnect session
   list                                              List available sessions
   show [session]                                    Session information
   select <session>                                  Select default session
   info <object>                                     Object information
   cancel <transfer>                                 Cancel transfer
   suspend <transfer>                                Suspend transfer
   resume <transfer>                                 Resume transfer
   send <file>                                       Send file
   pull <file>                                       Pull Vobject & stores in file
   cd <path>                                         Change current folder
   ls <options>                                      List current folder
   cp <source file> <destination file>               Copy source file to destination file
   mv <source file> <destination file>               Move source file to destination file
   rm <file>                                         Delete file
   mkdir <folder>                                    Create folder
   version                                           Display version
   quit                                              Quit program
   exit                                              Quit program
   help                                              Display help about this program
   export                                            Print environment variables
   [obex]#
   ```

## Next steps

### [Perform Bluetooth OPP server functions](https://dragonwingdocs.qualcomm.com/archives/2.0/Technologies/Bluetooth/perform-bluetooth-opp-server-functions.md)

You can verify Bluetooth OPP server functionality using the commands provided in the main menu of **obexctl**. Bluetooth OPP server functions allow you to receive a file in the server role.

### [Perform Bluetooth OPP client functions](https://dragonwingdocs.qualcomm.com/archives/2.0/Technologies/Bluetooth/perform-bluetooth-opp-client-functions.md)

You can verify Bluetooth OPP client functionality using the commands provided in the main menu of **obexctl**. Bluetooth OPP client functions allow you to send a file in the client role.
