Multi-Tech Systems MTSGSM User Manual
Page 39

Chapter 5 - AT Commands, S-Registers, and Error Codes
MTSGSM
39
Defined values Meaning
<indexn>
Index number, location in storage
<number>
Phone number of type <type>
<type>
Type of address
<text>
String of maximum length <tlength>
<nlength>
Maximum length of <number>
<tlength>
Maximum length of <text>
+CPBW
Write phonebook entry
Syntax
AT+CPBW=<index>,<number>,<type>,<text>
AT+CPBW=? for a list of supported <index>.
The response is +CPBW: (list of supported <index>), <nlength>,(list of supported
<type>), <tlength>
Error codes is returned as +CME ERROR: <err>:
Description
The AT+CPBW command writes a phonebook entry in the current phonebook
memory storage selected with AT+CPBS Entry fields written are phone number
<number> and text <text> associated with the number. If those fields are omitted.
The phonebook entry is deleted.
Defined values Meaning
<index>
Index number, location in storage
<number>
Phone number of type <type>
<type>
Type of address, default 145 when dialing string includes international access code
character ‘+’, otherwise 129.
<text>
String of maximum length <tlength>
<nlength>
Maximum length of <number>
<tlength>
Maximum length of <text>
+CPBS
Phonebook memory storage
Syntax
AT+CPBS=<storage> to set phonebook memory storage. AT+CPBS? returns
selected storage.
The response is +CPBS: <storage>. Enter AT+CPBS=? for a list of supported
<storage>.
The response is +CPBS: (list of supported <storage>)
Error code is returned as +CME ERROR: <err>:
Description
The AT+CPBS command selects or test which storage is used for phonebook
commands.
Defined values Meaning
<storage>
“ME”
Phone memory
“SE”
SIM memory
+CPMS
Preferred message storage
Syntax
AT+CPMS=<mem1> [, <mem2>] . The response is +CPMS: <used1>,<total1>,
<used2>,<total2>
AT+CPMS? returns selected message storage
The response is +CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>
AT+CPMS=? for a list of supported <mem>.
The response is +CPMS: (list of supported <mem1>), ( list of supported <mem2>)
Error code is returned as +CMS ERROR: <err>:
Description
The AT+CPMS command selects the memory storages <mem1> and <mem2> to be
used for reading, writing etc.