# Verify PBAP functions

PBAP is a Bluetooth profile for the exchange of phone book objects between a
remote and a local device.

To perform Bluetooth PBAP 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://docs.qualcomm.com/bundle/publicresource/topics/80-80022-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-80022-13/topic/bluez-perform-bluetooth-gap-functions.html#section-h4c-1bs-lcc-08-21-24-1205-46-507).
- Place the DUT and the remote device in the Bluetooth vicinity.

## Set up the device for Bluetooth PBAP functions

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.222
        Copy to clipboard
2. Connect to the SSH by entering the following password:

oelinux123
        Copy to clipboard
3. Open the Bluetooth test application by running the following command:

obexctl
        Copy to clipboard

    To view OBEX functions, run the following command:

help
        Copy to clipboard

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

    **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

## Next steps

- [Perform Bluetooth PBAP server functions](https://docs.qualcomm.com/doc/80-80022-13/topic/bluez-perform-bluetooth-pbap-server-functions.html)
You can verify Bluetooth PBAP server functionality using the commands provided in the main menu of `obexctl`. Bluetooth PBAP server functions allow you to get a contact from the server.
- [Perform Bluetooth PBAP client functions](https://docs.qualcomm.com/doc/80-80022-13/topic/bluez-perform-bluetooth-pbap-client-functions.html)
You can verify Bluetooth PBAP client functionality using the commands provided in the main menu of `obexctl`. Bluetooth PBAP client functions include connecting to a remote device and selecting a phone book object. You can pull an entire phone book, retrieve the phone book size, and search for a specific contact using PBAP client functions.

Last Published: May 10, 2026

[Previous Topic
Perform Bluetooth FTP client functions](https://docs.qualcomm.com/bundle/publicresource/80-80022-13/topics/bluez-perform-bluetooth-ftp-server-and-client-functions.md) [Next Topic
Perform Bluetooth PBAP server functions](https://docs.qualcomm.com/bundle/publicresource/80-80022-13/topics/bluez-perform-bluetooth-pbap-server-functions.md)