Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
31
if text mode (+CMGF=1), command successful and CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
if PDU mode (+CMGF=0) and command successful:
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
Example
AT+CMGR=1
+CMGR: "REC READ","66421","","2011/09/13 16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BCF68F59AADC78FED62779BA596
D7EBAEB5B91EBD16A5D46C35F98406A744E311A95C32594DA75688B50EADACA
6D689150EADF1B2BC5E579AD575E5B5582D5EABD5624C36A3D56C375C0E1693C
D6835DB0D9783A15C91D2E06BDAA558AC1F60C52B937CADCD2B747AA9021BD
EC627E8E9441BD42655DEF446
OK
Remarks
If the status of the message is received unread, the status in the storage changes to received
read.
5.7 SMS Message List: +CMGL
Description
To read SMS messages of one type from the current memory specified by the
+CPMS
command
Format
AT+CMGL[=<stat>]<CR>
AT+CMGL=?<CR>
Parameter
<state>: String type or numeric type
When you set
AT+CMGF=1
,
"REC UNREAD": Unread SMS messages received
"REC UNREAD": Read SMS messages received
"STO UNSENT": Stored unsent SMS messages
"STO SENT": Stored sent SMS messages
"ALL": All SMS messages
When you set AT+CMGF=0,
0: Unread SMS messages received
1: Read SMS messages received
2: Stored unsent SMS messages
3: Stored sent SMS messages
"ALL": All SMS messages
Return
Value
if text mode (+CMGF=1),command successful and SMS-SUBMITs and/or
SMS-DELIVERs:
+CMGL: <index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,<length>]<CR><LF>
<data>[<CR><LF>
+CMGL: <index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,<length>]<CR><LF>