WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
54
in TA will be cleared.
Return Value
See the Example.
Example
AT+CNMI=2,1,0,0,0
OK
Set the SMS message indication mode.
AT+CNMI=?
+CNMI:
(0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)
OK
Query the value ranges of the paramters.
AT+CNMI?
+CNMI: 2, 1, 0, 0, 0
OK
Query the current SMS indication mode.
Remarks
SMS messages are classified into four classes based on the storing:
Class0: displayed only
Class 1: Stored in the ME memory
Class 2: Stored in the SIM card
Class 3: Directly transmitted to TE
AT+CNMI=2,1 or AT+CNMI=2,2 is recommended.
5.6 Reading SMS Messages: +CMGR
Description
To read SMS messages stored in current memory (use the
AT+CPMS
command
to specify the current memory)
Format
AT+CMGR=<index><CR>
Parameter
<index>: location value <
index
> from preferred message storage <
mem1
> to the
TE
Return Value
If text mode (+CMGF=1),
1) command successful and SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]
<CR><LF><data>