Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
36
0: No status report of SMS message sending
1: The format of the SMS sending status report is
+CDS :<fo>,<mr>,[<ra>],[<tora>],<scts>, <dt>,<st>
(text mode).
<bfr>: The default value is 0.
0: When
<mode>
is set to
1
or
2
, codes defined by this command and stored in TA will be
sent to TE. The module will return
OK
before transmitting the codes.
1: When
<mode>
is set to
1
or
2
, the codes defined by this command and stored 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), command successful and SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>, <sca>,<tosca>,<length>]
<CR><LF><data>
if text mode (+CMGF=1), command successful and SMS-SUBMIT: