![SimTech SimCom SIM800 Series Application Notes Download Page 25](http://html1.mh-extra.com/html/simtech/simcom-sim800-series/simcom-sim800-series_application-notes_1279391025.webp)
Smart Machine Smart Decision
SIM800 Series_Bluetooth_Application_V1.02
25
2014-06-30
2.26.
AT+BTPBF Find name or number from remote by BT
AT+BTPBF Find name or number from remote by BT
Test Command
AT+BTPBF=?
Response
+BTPBF: (0,1),(32,64),(1-10),(0-2)
OK
Response
OK
If find name by number succeed
+BTPBF: 1,<phb_total>
+BTPBF: 1,<phb_index>,<name>
...
If find number by name succeed
+BTPBF: 0,<phb_total>
+BTPBF: 0,<phb_index>,<num_total>
+BTPBF: 0,<phb_index>,<num_index>,<number>,<type>
...
If find name by number failed or find number by name faild at get list
step.
+BTPBF: <mode>,<error>
If find number by name failed at get entry step
+BTPBF: <mode>,<phb_index>,<error>
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
AT+BTPBF=<m
ode>,<string>[,<s
torage>[,<order>
]]
Parameters
<mode>
find mode
0 find number by name
1 find name by number
<string>
string to be searched.
If use mode 0, it should be alphanumeric ASCII text string up to 32
characters
If use mode 1, it should be ucs2(big endian) value form with
alphanumeric ASCII text string. Max length is 64
<storage>
see
AT+BTPBSYNC
. Default value is 1.
<order>
search results order
0 order by indexed
1 order by alpha
2 order by sound