Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
38
AT+CMGR=40
+CMGR: "REC
UNREAD","18777397945",,"14/03/26,13:57:58+32"
hello world
OK
Read the message.
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
4: 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>
<data>[...]]
if text mode (+CMGF=1),commandsuccessful and SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[<CR><LF>
+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>[...]]
if text mode (+CMGF=1), command successful and SMS-COMMANDs: