Rainbow Electronics MG260 User Manual
Page 77

FLYFOT-MG260-MODULE
Page: 77 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
Example :
Command
Possible responses
+CMTI: .SM.,1
Note : New message received
AT+CMGR=1
Note : Read the message
+CMGR: 1,,24
0891683108100005F0040D91683185716393
F900005001429042802304B0182C06
OK
AT+CMGR=51
Note : Read at a wrong index
+CMS ERROR: 500
Note : Error : invalid index
AT+CMGR
AT+CMGR?
AT+CMGR=?
+CMS ERROR: 3
Note: not supported.
Defined values :
Text mode possible
values
PDU mode possible
values
Status of messages in memory
“REC UNREAD”
0
received unread messages
“REC READ”
1
received read messages
“STO UNSENT”
2
stored unsent messages
“STO SENT”
3
stored sent messages
“ALL”
4
all messages
9.8 List message +CMGL
Description :
This command allows the application to read stored messages, by indicating the type of the message to
read. The messages are read from the memory selected by the +CPMS command.
Syntax :
Command syntax : AT+CMGL=
Response syntax for PDU mode :
+CMGL :