Reproduction forbidden without Fibocom Wireless Inc. written authorization – All Rights Reserved.
FIBOCOM L860 AT Commands User Manual
Page 103 of 254
6.1.17 +CMGW, Write Message to Memory
This command is used to write and save a message to <mem2>. The message is saved in memory, and
the message index is displayed to the user.
By default, messages are saved with the status of "STO UNSENT", but status "STO SENT" can be
applied using the <stat> parameter.
In TEXT mode, the header parameters will be set according to CSMP settings.
Command
Description
Set
[Function]
The Set command writes a message and stores it.
[Syntax]
If text mode (+CMGF=1):
AT+CMGW[=<da>[,<toda>[,<stat>]]]<CR>text is entered<ctrl-Z/ESC>
if PDU mode (+CMGF=0):
AT+CMGW=<length>[,<stat>]<CR> PDU is given<ctrl-Z/ESC>
[Response/Action]
+CMGW: <index>
or:
+CMS ERROR: <err>
Read
N/A
Test
N/A
Parameters
<da>
destination address, string type represented in the currently
selected character set.
<toda>
type of destination address.
129 number in national format
145 number in international format (contains the "+")
<stat> message status.
"REC UNREAD" new received message unread (default for DELIVER
messages)
"REC READ" received message read
"STO UNSENT" message stored not yet sent (default for SUBMIT