Motorola G24 Benutzerhandbuch

Seite von 642
Chapter 3:  AT Commands Reference
 December  31, 2007
AT Commands Reference Manual
3-75
+CPBF, Find Phone Book Entries 
This execution command enables the user to search for a particular entry, by name, in the 
currently active phone book. If no matching entry is found, the command returns OK. If multiple 
matches are found, all are returned.
The following table shows the +CPBF parameters.
Example
AT+CPBS="MT" //Selecting phone book
OK
AT+CPBF="k" //Searching for "k" and not finding it
OK
AT+CPBF="Voice" //Searching for string "Voice" and finding Voice Mail
+CPBF: 101,"+97252999080",145,"Voice Mail"
OK
AT+CPBF="" //Searching for everything in phone book, and finding all entries
Command 
Type
Syntax
Response/Action
Set
+CPBF=<findtext>
[+CPBF: <index1>,<number>,<type>,<text>[[...]
<CR><LF> 
+CBPF: <index2>,<number>,<type>,<text>]]
OK
or:
+CME ERROR: <err>
Test
AT+CPBF=?
+CPBF: [<nlength>],[<tlength>]
OK
Table 3-39: +CPBF Parameters
<Parameter>
Description
<findtext>
Case-sensitive text substring to search for, according to the character set specified by 
the +CSCS command. 
<index1>
<index2>
Index for a given phone book entry
<number>
Phone number of a given entry
<type>
The address type of a phone number
129
Use for local call
145
Use “+” for international access code
128
Unknown
Note:
"128" is used to represent an email address or a mailing list. In this case, 
<ph_type> can be used to further differentiate between the two.
<text>
Text identifier for a phone book entry that starts with the substring <findtext>, 
according to the character set as specified by command +CSCS.