Westermo GDW-11 User Manual
Page 112

112 Short Messages commands
6615-2220
Command example
Possible responses
Note
AT+WMCP=?
+WMCP: 0,(1-12)
+WMCP: 1,(1-99)
OK
AT+CPMS?
+CPMS:
3 SMS are stored in SIM.
“SM”,3,10,”ME”,0,99,”SM”,3,10
10 is the total memory
OK
available in SIM. No SMS
in Flash
AT+CMGR=1
+CMGR: “REC UNREAD”,
Read the first SMS
”0146290800”,
”98/10/01,
from
the
SIM
18:22:11+00”,
My test message: SMS
in the SIM at location 1
OK
AT+WMCP=0,1 OK
Copy the SMS at location 1
in the SIM to the Flash
AT+CPMS?
+CPMS:
3 SMS are stored in SIM.
“SM”,3,10,”ME”,1,99,”SM”,3,10
10 is the total memory
OK
available in SIM. 1 SMS
in
Flash
AT+CPMS=”ME”,”ME”,”ME” +CPMS: 1,99,1,99,1,99
Select ME for reading,
OK
ME for writing and ME
for
storing
AT+CMGR=1
+CMGR: “REC READ”,
Read the first SMS
”0146290800”,
from
the
Flash
”98/10/01,18:22:11+00”,
My test message: SMS
in the SIM at location 1
OK
AT+CMGW=
+CMGW: 2
Message stored in index
”+33146290800”
OK
2 in the flash
Other test message:
SMS in the Flash at
location 2
AT+CPMS?
+CPMS:
2 SMS are stored
“ME”,2,99,”ME”,2,99,”ME”,2,99
in
the
flash.
OK
AT+WMCP=1,2 OK
Copy the SMS at location 2
in the flash to the SIM
AT+CPMS=”SM”,”ME”,”SM” +CPMS: 4,10,2,99,4,10
Select SM for reading,
OK
ME for writing and SM
for
storing