Preferred Message Storage +Cpms - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

Preferred Message Storage +CPMS

Description:
This command allows the message storage area to be selected (for reading, writing, etc).
Values:
<mem1>:
<mem2>:
<mem3>:
If the command is correct, the following message indication is sent:
When <mem1> is selected, all following +CMGL, +CMGR and +CMGD commands are related to the
type of SMS stored in this memory.
The maximum number of SMS is Flash is 99.
When the modem is switched on, <mem1>,<mem2>, and <mem3> are initialized to SM.
Syntax:
Command Syntax: AT+CPMS=<mem1>,[<mem2>],[<mem3>]
Command
AT+CPMS=?
Note: Possible message storages
AT+CPMS?
Note: Read
AT+CPMS= "SM","ME","SM"
Note: Select SM for reading, ME
for writing and SM for storing
AT+CPMS="AM"
Note: Select false message storage
AT+CPMS="BM"
Note: Select CBM message storage
AT+CPMS?
Note: Read
AT+CPMS= "ME","ME","ME"
Note: Select ME for reading, ME
for writing and ME for storing
AT+CPMS?
Note: Read
AT+CPMS= "AM"
Note: Select wrong message
storage
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
Memory used to list, read and delete messages. It can be:
SM
SMS message storage in SIM (default)
ME
SMS message storage in Flash
BM
CBM message storage (in volatile memory).
SR
Status Report message storage (in SIM if the EF-SMR file exists, otherwise in the ME non
volatile memory)
Note:
SR ME non-volatile memory is cleared when another SIM card is inserted. It is kept,
even after a reset, while the same SIM card is used.
Memory used to write and send messages
SM
SMS message storage in SIM (default)
ME
SMS message storage in Flash
Memory to which received SMS are preferred to be stored
SM
SMS message storage in SIM (default)
ME
SMS message storage in Flash
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
Chapter 9 – Short Messages Commands
Possible responses
+CPMS: (("SM","ME","BM","SR"),("SM","ME"),("SM","ME"))
OK
Note: Read, list, delete: SMS or SMS Status Report
Write, send: SMS
+CPMS: "SM",3, 10,"SM",3,10,"SM",3,10
OK
Note: Read, write...SMS from/to SIM
3 SMS are stored in SIM. 10 is the total memory available in SIM
+CPMS: 3,10,3,99,3,10
OK
+CMS ERROR: 302
+CPMS: 2,20,3,10
OK
Note: Read, list, delete CBM from RAM 2 CBM are stored in RAM
+CPMS: "SM",3,10,"ME",3,99,"SM",3,10,
OK
Note: Read, store...SMS from/to flash, write SMS to flash. 3SMS
are stored in flash. 99 is the total memory available in flash
CMTI: "SM",4
+CPMS: 3,99,3,99,3,99
OK
+CPMS: "ME",3,99,"ME",3,99,"ME",3,99
OK
Note: Read, write, store SMS from/to flash. 3 SMS are stored in
flash. 99 is the total memory available in flash
CMTI: "ME",4
Note: Receive an SMS stored in flash at location 4
+CMS ERROR: 302
63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents