70/113
10.1.5 +CPBR Read phonebook entries
Command Response
+cme
error
execute
+CPBR=<index1>,
<index2>
[+CPBR: <index1>,<number>,<type>,<text>[[...]
<CR><LF>+CPBR: <index2>,<number>,<type>,<text>]]
x
test
+CPBR=?
+CPBR: (<index>-
list
),[<nlength>],[<tlength>]
x
Optional. 07.07 section 8.12. If the given index range is valid but all entries in it are empty,
the response is empty. Test command returns the location range that is supported by the
current storage as a compound value and the maximum length of
<number>
and
<text>
field.
10.1.6 +CPBF Find phonebook entries
Command
Response
+cme
error
execute
+CPBF=<findtext>
[+CPBF: <index1>,<number>,<type>,<text>[[...]
<CR><LF>+CPBF: <index2>,<number>,<type>,<text>]]
x
test
+CPBF=?
+CPBF: [<nlength>],[<tlength>]
x
Optional. 07.07 section 8.13. If the searched text is not found from the entries in the current
memory, the response is empty. Test command returns the maximum length of
<number>
and
<text>
field.
10.1.7 +CPBW Write phonebook entry
Command
Response
Dcme
error
execute
+CPBW=[<index>][,
<number>[,<type>
[,<text>]]]
[,,129/145]
x
test
+CPBW=?
+CPBW: (<index>-
list
),[<nlength>],
(129,145),[<tlength>]
x
Optional. 07.07 section 8.14. Execution command writes phonebook entry in location number
<index>
in the current phonebook memory storage selected with
+CPBS
. Entry fields written
are phone number
<number>
(in the format
<type>
) and text
<text>
associated with the
number. If those fields are omitted, the phonebook entry is deleted. If
<index>
is left out, but
<number>
is given, the entry is written to the first free location in the phonebook.
Test command returns location range supported by the current storage as a compound
value, the maximum length of
<number>
field, supported number formats of the storage, and
the maximum length of
<text>
field.