LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 660 of 1904 2022-03-04
Care must be taken to ensure that during the command
execution, which may take several seconds, no other SIM
interacting commands are issued.
It is possible to save a concatenation of at most 16 SMs; the
maximum number of chars depends on <dcs>:
- 2432 chars
- 2128 chars if 8-bit is used
- 1056 chars if UCS2 is used
In text mode, not only SUBMIT messages can be stored in SIM,
but also DELIVER messages.
The type of saved message depends upon the current <fo>
parameter (see +CSMP). For a DELIVER message, current <vp>
parameter (see +CSMP) is used to set the message Service
Centre Time Stamp <scts>, so it must be an absolute time string,
e.g. "09/01/12,11:15:00+04".
SUBMIT messages can only be stored with status "STO UNSENT"
or "STO SENT"; DELIVER messages can only be stored with
status "REC UNREAD" or "REC READ".
If message writing fails for some reason, then an error code is
reported.
AT+CMGW=?
Test command returns the OK result code.
To avoid malfunctions it is suggested to wait for the +CMGW: <index> or
+CMS ERROR: <err> response before issuing further commands.