Specifications
Chapter 15 – Phonebook Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 250
<used>
Value indicating the number of used locations in selected memory storage.
<total>
Value indicating the maximum number of locations allowed in the selected memory storage.
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.
• If the SIM card is changed, all records of the “MC”, “RC” and “LD” phonebooks stored on the ME will be deleted
automatically. If the same SIM is removed and reinserted, no automatic deletion is performed. Calls made after
last switch-on will be lost from “MC”, “RC” and “LD” phonebook, if the SIM is removed and reinserted during
normal operation.
• The following call history rule applies to the phonebook types "LD", "MC" and "RC": When the same number is
dialed several times in direct succession the "LD" phonebook will store one single entry. When dialed several
times, but in a row with different numbers, the same number will be logged each time after dialing, resulting in
double or multiple "LD" phonebook entries related to this number.
The optional <text> in AT+CPBW write command must be stored in any phonebook when reading the <text> with
AT+CPBR write command in the "LD" phonebook after having dialed with ATD or another dial command.
Likewise, the "MC" or "RC" phonebook will store only a single entry when calls from the same number are
received in direct succession, and double or multiple entries when calls from the same number are received
several times, but amongst other incoming calls from different numbers.
• This command is PIN protected.
• This command is supported in airplane mode.
15.5 AT+CPBW Write into Phonebook
Description: The AT+CPBW write command can be used to create, edit and delete a phonebook entry at a
<location> of the active storage selected with AT+CPBS.
If <storage>=”FD” (SIM fixed dialing numbers) is selected, PIN2 authentication has to be
performed prior to any write access.
The test command returns the location range supported by the current storage, the maximum
length of the <number> field, the range of supported <type> values and the maximum length of
the <text> field.
The length may not be available while SIM storage is selected. If storage does not offer format
information, the format list contains empty parenthesizes.
Syntax: Test Command: AT+CPBW=?
Response: +CPBW: (1-<maxloc>), <nlength>, (list of supported <type>s), <tlength>
OK
ERROR
+CME ERROR: <err>
Write Command: AT+CPBW=[<location>][, <number>[[, <type>][, <text>]]]
Response: OK
ERROR
+CME ERROR: <err>
Parameters:
<location>
Location number within phonebook memory. The maximum range supported by each storage type is indicated in
the test command response. If <location> is not given, the first free entry will be used.
If <location> is given as the only parameter, the phonebook entry specified by <location> is deleted.
<number>
Phone number in format specified by <type>. Parameter must be present, although it may be an empty string.
Alphabetic characters are not permitted. <number> may contain dial_string modifiers “*”, “#” or “+”.
If other printable non-alphabetic characters are used the entry needs to be saved with <type>=209. Otherwise, if
<type>=209 is not used any non-digit characters other than “*”, “#” or “+” will be removed from the string and only
accepted modifiers from the GSM alphabet will be saved.
A <number> saved with <type>=209 requires double memory. In order to fit into a standard location, the number
needs to be reduced to a maximum length of <nlength>/2, including all digits and dial string modifiers.
Extended locations may be used as stated below for <nlength>.