UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 170 of 329
3.5.5.4.2.
Send Message From Storage
Send Message From Storage
Send Message From Storage
Send Message From Storage ---- +CMSS
+CMSS
+CMSS
+CMSS
+CMSS
+CMSS
+CMSS
+CMSS ---- Send Message From Storage
Send Message From Storage
Send Message From Storage
Send Message From Storage
AT+CMSS=
AT+CMSS=
AT+CMSS=
AT+CMSS=
<index>
<index>
<index>
<index>[,<da>
[,<da>
[,<da>
[,<da>
[,<toda>]]
[,<toda>]]
[,<toda>]]
[,<toda>]]
Execution command sends to the network a message which is already
stored in the <memw>
<memw>
<memw>
<memw> storage (see +C
+C
+C
+CPMS
PMS
PMS
PMS) at the location <index>
<index>
<index>
<index>.
Parameters:
<index>
<index>
<index>
<index> - location value in the message storage <memw>
<memw>
<memw>
<memw> of the message
to send
<da>
<da>
<da>
<da> - destination address, string type represented in the currently
selected character set (see +CSCS
+CSCS
+CSCS
+CSCS); if it is given it shall be used
instead of the one stored with the message.
<toda>
<toda>
<toda>
<toda> - type of destination address
129 - number in national format
145 - number in international format (contains the "+
++
+")
If message is successfully sent to the network then the result is sent in the
format:
(Note : Optionally (when +CSMS <service> value is 1 and network supports)
<scts> is returned)
+CMSS: <mr>[, <scts>]
+CMSS: <mr>[, <scts>]
+CMSS: <mr>[, <scts>]
+CMSS: <mr>[, <scts>]
where:
<mr>
<mr>
<mr>
<mr> - message reference number.
<scts> - TP-Service Centre Time Stamp in Time String Format.
If message sending fails for some reason, an error code is reported:
+CMS ERROR:<err>
+CMS ERROR:<err>
+CMS ERROR:<err>
+CMS ERROR:<err>
Note: to store a message in the <memw>
<memw>
<memw>
<memw> storage see cCMGW
+CMGW
+CMGW
+CMGW....
Note: care must be taken to ensure that during the command execution,
which may take several seconds, no other SIM
SIM
SIM
SIM interacting commands are
issued.
AT+CMSS=?
AT+CMSS=?
AT+CMSS=?
AT+CMSS=?
Test command resturns the OK
OK
OK
OK result code.
Note
To avoid malfunctions is suggested to wait for the +CMSS: <mr>
+CMSS: <mr>
+CMSS: <mr>
+CMSS: <mr> or +CMS
+CMS
+CMS
+CMS
ERROR: <err>
ERROR: <err>
ERROR: <err>
ERROR: <err> response before issuing further commands.
Example
AT+CMGF=1
OK
AT+CMGW="0165872928"
> test message...
+CMGW: 28
AT+CMSS=28
+CMSS: 136