Cpbr, Read Phone Book Entries - Motorola G24 Guide Developer's Manual

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

Advertisement

AT+CPBW=1,"034546565",129,"xyz"// Write into FD storage
OK
AT+CPBS="FD","<wrong pin2>"
+CME ERROR: incorrect password
AT+CPBS="AD","<pin2>"
+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
Command
Type
Set
Test
December 31, 2007
Syntax
+CPBR=<index1>
[+CPBR:
[,<index2>]
<index1>,<number>,<type>,<text>
[<CR><LF>
+CPBR:
<index2>,<number>,<type>,<text>]]
OK
or:
+CME ERROR: <err>
+CPBR=?
+CPBR: (list of supported
<index>s),[<nlength>], [<tlength>]
OK
AT Commands Reference Manual
Chapter 3: AT Commands Reference
3-71).
Response/Action
Remarks
The Set command returns
phone book entries.
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.
3-73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents