Description Car Bluetooth PBAP Bluetooth phone supports phone book function

I. Introduction

 

Bluetooth phone this Agreement, belonging to a sub-protocol of Bluetooth, professional terms for the Bluetooth PBAP. When the phone is connected Bluetooth devices, Bluetooth devices with Bluetooth can take the initiative to get the phone's address book, and the most recent call record information.

 

The phone book are each independently of the entity in the presence vCard format. PSE should support vCard2.1 and vCard3.0 versions, and can be transferred to an entity PCE PCE according to the specified format. In either format, are used UTF-8 [p1] encoding

 

  BT401 Bluetooth module can support PBAP function

 

 

 

 

 

Second, the functional description

 

1, through the serial port, access to information phone side of the phone book as follows:

(1), you can clearly see that we give the interface, contains three pieces of information: the serial number, name, phone number

(2), are based on the name of UTF-8 encoding

 

2, the way users as follows:

(1), and Bluetooth phone connection after a successful, first of all get the name of the phone connection, phone to confirm whether you want to update this information

(2)  , if the need to update the phone book information, initiate AT command to the module returns all information in phone book

(3)  , the phone book information stored in the user's MCU side.

(4), after storage, the next time if a call comes in, you can phone number, to find the number corresponding to the name

 

 

Third, the summary

 

1, during use, be sure to avoid operating the call, and playing music.

2, is recommended after the Bluetooth connection is successful, immediately get the name of the phone connection . Then compare this information if you want to update your phone

Guess you like

Origin www.cnblogs.com/qyvhome/p/11653725.html