Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
90
A.5 Flowchart of Receiving SMS Messages
Figure A-4
Flowchart of receiving SMS messages
AT+CSQ\r
AT+CREG?\r
Start the module
5. Check the RSSI.
+CSQ: 99, 99
indicates no signal.
+CSQ: 21, 99
indicates that the RSSI is 21.
6. Check the network registration status.
The module returns
+CREG: 0,1
or
+CREG:
0,5
,
indicating that it has registered a network.
Startup code
AT\r
ERROR
AT+CCID\r
ICCID
ERROR
No signal
3. Check whether AT commands are available.
4. Read the ICCID of the SIM card.
ERROR indicates that the SIM card cannot be
found.
Check whether the SIM card is inserted or the
card socket works properly.
1. Power on the module.
2.
+EIND: 128
indicates that the module is
ready
OK
There is signal
Not registered
+CREG: 0,1
+CREG: 0,5
AT+CMGF=1\r
AT+CSCS="GSM"\r
AT+CNMI=2,1,0,0,0\r
OK
ERROR
Return ERROR
Return ERROR
OK
OK
Waiting for new messages
7. Set the SMS mode.
Note:
AT+CMGF=1
indicates the text mode.
AT+CMGF=0
indicates the PDU mode.
8. Set the TE character set.
Note:
Select a format for the received content. For
details, see the command set.
In general, set it to GSM for text format and
UCS2 for PDU format.
9. Set the SMS message notice format.
Note:
AT+CNMI=2,1,0,0,0
indicates there is a
reminder for new messages and the messages
are stored rather than directly displayed.
AT+CNMI=2,2,0,0,0
indicates the messages
are displayed with the indication code rather
than stored.