Cpbf, Find Phone Book Entries - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

+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.
Command
Type
Set
Test
The following table shows the +CPBF parameters.
<Parameter>
<findtext>
<index1>
<index2>
<number>
<type>
<text>
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
December 31, 2007
Syntax
+CPBF=<findtext>
[+CPBF: <index1>,<number>,<type>,<text>[[...]
<CR><LF>
+CBPF: <index2>,<number>,<type>,<text>]]
OK
or:
+CME ERROR: <err>
AT+CPBF=?
+CPBF: [<nlength>],[<tlength>]
OK
Table 3-39: +CPBF Parameters
Case-sensitive text substring to search for, according to the character set specified by
the +CSCS command.
Index for a given phone book entry
Phone number of a given entry
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 identifier for a phone book entry that starts with the substring <findtext>,
according to the character set as specified by command +CSCS.
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Response/Action
Description
3-75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents