# Object Push Profile

Source: [https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-opp.html](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-opp.html)

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.

## Set up device for Bluetooth OPP 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@<device_IP_address>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: 

        obexctlCopy to clipboard

                     To view OBEX functions, run the following command:

        helpCopy to clipboard

    This
                            command provides the main menu of obexctl. To
                            perform OPP server and client functions, see [Perform Bluetooth OPP server functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-server-functions.html) and [Perform Bluetooth OPP client functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-client-functions.html).

    **Sample output**

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]#Copy to clipboard

- **[Perform Bluetooth OPP server functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-server-functions.html)**  

You can verify Bluetooth OPP server functionality using the commands provided in the         main menu of obexctl.
- **[Perform Bluetooth OPP client functions](https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-opp-client-functions.html)**  

You can verify Bluetooth OPP client functionality using the commands provided in the         main menu of obexctl.

**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 HFP audio gateway functions](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-perform-bluetooth-hfp-ag-functions.md) [Next Topic
Perform Bluetooth OPP server functions](https://docs.qualcomm.com/bundle/publicresource/80-70017-13/topics/bluez-perform-bluetooth-opp-server-functions.md)