Prerequisites
Before you begin, set up the device as described in Set up the device for Bluetooth PBAP functions.Connect the remote device
To connect a remote device in PBAP, run the following command from theobexctl menu:
-
<bt_address>is the Bluetooth address of the remote device. -
<profile_name>ispbap.
<bt_address> F8:7D:76:9D:9B:6B, run the following command:
Select a phone book object
To select a phone book object, run the following command from theobexctl menu:
<phonebook_object> can be:
-
pbfor the phone book. -
ichfor the incoming call history. -
ochfor the outgoing call history. -
mchfor the missed call history. -
cchfor the history of incoming, outgoing, and missed calls. -
spdfor the speed dial contacts. -
favfor the favorite contacts.
obexctl menu:
Pull a phone book
To pull a phone book, do the following:- Connect the DUT and the remote device.
- Select the intended phone book.
-
Pull the intended phone book by running the following command:
The file is stored at the root directory or at the
/var/bluetooth/directory. Parameters-
<source file>is the phone book you intend to pull. -
<destination file>is the file into which you must pull the phone book.
*.vcftocontact.vcf, run the following command:Sample output -
- Open and verify the phone book.
Get phone book size
To get the size of a phone book, do the following:- Connect the DUT and the remote device.
- Select the intended phone book.
-
Get the size of the intended phone book by running the following command:
Sample output
Search for a contact
To search for a contact by name or number, do the following:- Connect the DUT and the remote device.
- Select the intended phone book.
-
Search for the contact by running the following command:
The contact file appears. Parameters
<name_or_number>is the contact name or number. Example To search for a contact calledBTin a phone book, run the following command:Sample output

