User's Manual

ST-100M Module
48
7.20 AT+CMSS(PDU mode) – Send Message from Storage(Sec 4.7)
7.20.1 Description
Execution command sends message with location value <index> from message storage <mem2> to the
network (SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it
shall be used instead of the one stored with the message. Reference value <mr> is returned to the TE on
successful message delivery.
7.20.2 Format
Command Possible response(s)
+CMSS=<index>[,<da>[,<toda>]]
if PDU mode (+CMGF=0) and sending successful:
+CMSS: <mr>[,<ackpdu>]
if sending fails:
+CMS ERROR: <err>
+CMSS=?
7.21 AT+CMGW(Text mode) – Write Message to Memory (Sec 3.5.3)
7.21.1 Description
Execution command stores a message to memory storage <mem2>. Memory location <index> of the stored
message is returned. By default message status will be set to 'stored unsent', but parameter <stat> allows
also other status values to be given, support ‘stored unsent’ and “stored sent”
7.21.2 Format
Command Possible response(s)
if text mode (+CMGF=1):
+CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]<CR>
text is entered<ctrl-Z/ESC>
+CMGW: <index>
+CMS ERROR: <err>
+CMGW=?
7.22 AT+CMGW(PDU mode) – Write Message to Memory (Sec 4.4)
7.22.1 Description
Execution command stores a message to memory storage <mem2>. Memory location <index> of the stored
message is returned. By default message status will be set to 'stored unsent', but parameter <stat> allows
also other status values to be given, support ‘stored unsent’ and “stored sent”