Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3 -73
AT+CPBW=1,"034546565",129,"xyz"// Write into FD storage
OK
AT+CPBS="FD","<wrong pin2>"
+CME ERROR: incorrect password
AT+CP BS= "AD" ,"<p in2 >"
+CME ERROR: operation not allowed
AT+CPBS="FD","<pin2 longer then 8 chars>"
+CME ERROR: text string too long
+CPBR, Read Phone Book Entries
This command recalls phone book entries from a specific entry number or from a range of entries.
If only one entry is specified, and that entry is empty, OK is returned. If a range of entries is
requested, all entries that contain data within that range are returned. If a listing fails in a G24
error, +CME ERROR: <err> is returned.
This command can also be used to obtain information about the number of entries and the
maximum size of a phone number and alpha tag fields in the phone book.
This command acts on the currently active phone book, as selected with the +CPBS command
(Refer to “+CPBS, Select Phone Book Memory”, page 3-71).
Command
Type Syntax Response/Action Remarks
Set +CPBR=<index1>
[,<index2>] [+CPBR:
<index1>,<number>,<type>,<text>
[<CR><LF>
+CPBR:
<index2>,<number>,<type>,<text>]]
OK
or:
+CME ERROR: <err>
The Set command returns
phone book entries.
Test +CPBR=? +CPBR: (list of supported
<index>s),[<nlength>], [<tlength>]
OK
The Test command
returns the entry range
supported by the current
storage as a compound
value and the maximum
lengths of the <number>
and <text> fields.