Wavecom GSM Modem
5.11. List message
This command allows the application to read stored messages, by
indicating the type of the message to read.
<stat> (status of message in memory) :
+CMGL=<index>,<stat>,<da/oa>[,<alpha>,<scts>,<tooa/toda>,<length>]
<CR><LF><data>
This command is also available in PDU mode.
+CMGL=<index>,<stat>,<length<CR><LF><pdu>
Examples :
Application to GSM
GSM to application
Application to GSM
GSM to application
Application to GSM
GSM to application
This confidential document is the property of WAVECOM and may not be copied or circulated without permission
+CMGL
AT+CMGL=<stat>
0
1
2
3
4
AT+CMGL=0
+CMGL: 1, "REC UNREAD",
"43322449"<CR>
To be or not to be!
+CMGL: 3, "REC UNREAD",
"46290800"<CR>
Be happy!
OK
AT+CMGL=1
+CMGL: 2, "REC READ",
"43322449",20<CR>
Keep cool
OK
AT+CMGL=2
+CMS ERROR: 321
"REC UNREAD" ( received unread message )
"REC READ"( received read message )
"STO UNSENT"( stored unsent message )
"STO SENT"( stored sent message )
"ALL"( all messages )
read the message
read again the message
read + bad index
error : invalid index
36
Need help?
Do you have a question about the WMO1-G900 and is the answer not in the manual?
Questions and answers