Short message commands, At+cpms, At+cmgr=1 – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual
Page 459: Ok at+wmcp=0,1, Ok at+cpms, At+cpms="me","me","me

Short message Commands
Copy Messages +WMCP
©Restricted
Page:
113 / 202
This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.
WM_DEV_OAT_UGD_049 - 001
VOLUME 3
August 23, 2007
17.19.5 Examples
Command
Responses
AT+WMCP=?
+WMCP: 0,(1-12)
+WMCP: 1,(1-99)
OK
Note: The location of the SMS which can be copied from
the SIM to the flash is 1 to 12 (maximum available in
the SIM). The location of the SMS which can be copied
from the flash to the SIM is 1 to 99 (the maximum
available in the flash).
AT+CPMS?
+CPMS:
"SM",3,10,"ME",0,99,"SM",3,10
OK
Note: Read the SMS storage
Note: Read, write…SMS from/to SIM. 3 SMS are stored
in SIM. 10 is the total memory available in SIM. No SMS
in Flash.
AT+CMGR=1
+CMGR: "REC UNREAD","0146290800",
"98/10/01,18:22:11+00",
My test message: SMS in the SIM at location 1
Note: Read the first SMS from the SIM
OK
AT+WMCP=0,1
Note: Copy the SMS at location 1 in the SIM to the
Flash
OK
AT+CPMS?
Note: Read the SMS storage
+CPMS:
"SM",3,10,"ME",1,99,"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. 1 SMS
in Flash.
AT+CPMS="ME","ME","ME"
Note: Select ME for reading, ME for writing and
ME for storing
+CPMS: 1,99,1,99,1,99
OK
AT+CMGR=1
+CMGR: "REC READ","0146290800",
"98/10/01,18:22:11+00",
My test message: SMS in the SIM at location 1
Note: Read the first SMS from the Flash
OK