I want to implement PBAP. i.e. I want to share contacts and perform certain operations using Bluetooth connectivity. Specifically, I want to implement the client side app ( car kit ). Since, server side is already served by an android device.
I went through the android source code for PhoneBook Access Profile - Client side : https://cs.android.com/android/platform/superproject/+/master:packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/;bpv=0;bpt=0
It is very complex and I am unable to identify what all API's can be used directly.
After reading the profile Specs, I got to know that we need to implement the following functions:
- Pull Phone Book
- Pull VcardEntry
- Pull VcardList
- Set Phonebook
Can anyone help me with how to implement these functionalities?