Specifications
Chapter 15 – Phonebook Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 251
<type>
Type of address octet, which defines the used type of number (ton) and the numbering plan identification (npi).
Please consider that for types other than 129 or 145 dialing from phonebook with ATD><mem><n> is, depending
on the network, not always possible (refer GSM 04.08 subclause 10.5.4.7 for details).
If <type> is not specified the unknown <type>=129 is used. If <number> contains a leading "+" <type>=145
(international) is used.
Supported values are:
145 Dialing string <number> includes international access code character ‘+’
161 National number. The network support for this type is optional.
209 Dialing string <number> will be saved as ASCII string.
This is the default value, if <type> is not specified explicitly and characters other than “*”, “#” or
“+” are included in <number>.
Note that phonebook entries saved with this type cannot be dialed.
255 Dialing string <number> is a command to control a Supplementary Service; i.e., “*”, “#” codes are
contained. Network support of this type is optional.
129 Unknown number. If <type> is unknown and the <number> contains a leading "+", <type>=145
(international) is used.
<text>
Text assigned to the phone number. The maximum length of this parameter is given in the test command
response <tlength>. When using an ASCII terminal, characters which are coded differently in ASCII and GSM
have to be entered via escape sequences as described in Section 1.5, Supported character sets.
<maxloc>
Maximum number of locations supported by the currently selected storage. For phonebooks located on SIM, this
value varies depending on the SIM card. See AT+CPBS for typical values.
<nlength>
Maximum length of phone number for “normal” locations. Depending on the storage, a limited number of
locations with extended memory is available per phonebook. These locations allow storing numbers with twice
the standard length, which is 2*<nlength> digits for normal numbers, but only <nlength> digits for numbers saved
with parameter <type>= 209. If all extended locations of the selected phonebook are used up, then any attempt
to write a number which requires extended memory will be denied with CME ERROR: INVALID DIAL STRING.
<tlength>
Maximum length of <text> assigned to the telephone number. The value indicated by the test command is given
in octets. If the <text> string is given in GSM characters, each character corresponds to one octet. If the <text>
string is given in UCS2, the maximum number of characters depends on the coding scheme used for the alpha
field of the SIM. In the worst case the number of UCS2 characters is at least one less than half the number of
GSM characters.
For a detailed description please refer to GSM 11.11, Annex B.
Examples:
Example 1 – Make a new phonebook entry at the first free location
AT+CPBW=,”+431234567”,145,”international”
Example 2 – Delete entry at location 1
AT+CPBW=1
Example 3 – The following examples are provided to illustrate the effect of writing phonebook entries with
different types of dial string modifiers in <number>
AT+CPBW=5,”12345678”,,”Arthur”
AT+CPBW=6,”432!+-765()&54*654#”,,”John”
AT+CPBW=7,”432!+-765()&54*654#”,129,”Eve”
AT+CPBW=8,”432!+-765()&54*654#”,145,”Tom”
AT+CPBW=9,”432!+-765()&54*654#”,209,”Richard”
Example 4 – Read phonebook entries from locations 5 - 9 via AT+CPBR
+CPBR:5,”12345678”,129,”Arthur”
+CPBR:6,”432!+-765()&54*654#”,209,”John”
+CPBR:7,”432+76554*654#”,129,”Eve”
+CPBR:8,”+432+76554*654#”,145,”Tom”
+CPBR:9,”432!+-765()&54*654#”,209,”Richard”
Notes:
• Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is returned.
See Section 20.1, Restricted Access to SIM Data after SIM PIN Authentication.
• During AT+CPBW write command, it is possible that in some cases returns "+CME ERROR: operation
temporarily not allowed". Use AT+CPBW write command again.
• This command is PIN protected.
• This command is supported in airplane mode.