![Siemens M20 Terminal Technical Description Download Page 105](http://html.mh-extra.com/html/siemens/m20-terminal/m20-terminal_technical-description_378988105.webp)
AT command interface
Version 8 dated 15.03.00
105
Siemens Information and Communication Products
AT+CPMS
Preferred SMS message storage
Test command
AT+CPMS=?
Response
+CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of supported <mem3>s)
Parameter
see set command
Read command
AT+CPMS?
Response
+CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>, <mem3>,<used3>,<total3>
OK
If error is related to ME functionality:
+CMS ERROR
Parameter
see set command
Set command
AT+CPMS =
<mem1>
[,<mem2>
[,<mem3>]]
Response
TA selects memory storages <mem1>, <mem2> and <mem3> to be used for reading, writing, etc.
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3> OK
If error is related to ME functionality:
+CMS ERROR:<err>
Parameter
<mem1>
Messages to be read and deleted from this memory storage
"SM" SIM message storage
<mem2>
Messages will be written and sent to this memory storage
"SM" SIM message storage
<mem3>
Received messages will be placed in this memory storage if routing
to PC is not set ("+CNMI")
"SM" SIM message storage
<usedx>
Number of messages currently in <memx>
<totalx>
Number of messages storable in <memx>
Reference
GSM 07.05
Note
AT+CRES
Restore SMS settings
Test command
AT+CRES=?
Response
+CRES: (list of supported <profile>s) OK
Parameter
Execute command
AT+CRES[=
<profile>]
Response
TA restores SMS settings for +CSCA, +CSMP from SIM card.
OK
If error is related to ME functionality:
+CMS ERROR:<err>
Parameter
<profile>
0
manufacturer-specific profile number where setting are to be stored
Reference
GSM 07.05
Note
Only one user profile supported.