58
gsm-m1-e.fm
GSM M1 Module, English: A24859-N4000-A100-1-7677
Technical reference section
26.2.96
This command allows you to display the short message addressed by <index>.
Action command syntax
<index>
Integer type; value in the range of location numbers supported by
the associated memory
<stat>
Integer type in PDU mode; indicates the status of message in memory.
0
Received, unread message (i.e. new message)
1
Received, read message
2
Stored, unsent message
3
Stored, sent message
4
All messages
This command allows you to send a short message from the TE to the network. If the
short message is successfully sent, the message reference <mr> is returned to the
TE.
Action command syntax
<mr>
GSM 03.40 TP message reference in integer format
AT+CMGR - Read message
Command
Possible response(s)
+CMGR= <index>
If PDU mode (+CMGF=0) and command successful:
+CMGR: <stat>, <length><CR><LF><pdu>
Otherwise:
+CMS
ERROR
: <err>
+CMGR=?
AT+CMGS - Send message
Command
Possible response(s)
If PDU mode (+CMGF=0):
+CMGS= <length><CR>PDU is given<ctrl-Z/ESC>
If send is successful:
+CMGS:<mr>,
If send fails:
+CMS
ERROR
: <err>
+CMGS=?