AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page87of233
+CNMI - New Message Indications To Terminal Equipment
TEST MESSAGE
Note
DTR signal is ignored, hence the indication is sent even if the DTE is inactive ( DTR
signal is Low). In this case the unsolicited result code may be lost so if MODULE
remains active while DTE is not, at DTE startup is suggested to check whether new
messages have reached the device meanwhile with command AT+CMGL=0 that lists
the new messages received.
List Messages - +CMGL
+CMGL - List Messages
AT+CMGL=
[=<stat>]
Execution command reports the list of all the messages with status value <stat>
stored into <memr> message storage (<memr> is the message storage for read and
delete SMs as last settings of command +CPMS).
The parameter type and the command output depend on the last settings of
command +CMGF (message format to be used)
(PDU Mode)
Parameter:
<stat>
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
4 - all messages.
Each message to be listed is represented in the format:
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
where:
<index> - message position in the memory storage list.
<stat> - status of the message
<alpha> - string type alphanumeric representation of
<da> or <oa>, corresponding to an entry found in the
phonebook; used character set is the one selected with
command +CSCS.
<length> - length of the PDU in bytes
<pdu> - message in PDU format according to 3GPP TS 3.40/23.040
(Text Mode)
Parameter:
<stat>
"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent