Wmsc – message status modification – Westermo GDW-11 User Manual
Page 107

Short Messages commands 107
6615-2220
+WMSC – Message status modification
Description:
This commands allow the manipulation of a message status. The accepted status changes
are from READ to NOT READ and vice versa, and from SENT to NOT SENT and vice
versa.
Syntax:
AT+WMSC= <loc>, <status>
Parameters:
<loc>
Location number of the stored message (integer)
<status>
New status to be stored, as for +CMGL command:
Text mode
PDU mode
“REC UNREAD”
0
“REC READ”
1
“STO UNSENT”
2
“STO SENT”
3
Possible responses:
+CMS ERROR: 321 If <loc> is invalid or free
+CMS ERROR: 302 If the new <status> and the previous one are incompatible (1)
NOTE:
If all the parameters are correct, the product overwrites the whole SMS in SIM.
Only the first byte (Status byte) is changed.
Command example
Possible responses
Note
AT+CMGR=2 +CMGR:
”REC
READ”,”+336290918”
,,”99/05/01
14:19:44+04”
<CR><LF>
Hello All of you !
OK
AT+WMSC=2,
“REC UNREAD”
AT+CMGR=2 +CMGR:
”REC
UNREAD”,”+336290918”
,,”99/05/01
14:19:44+04”
<CR><LF>
Hello All of you !
OK