Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
92
A.6 Flowchart of Sending SMS Messages
Figure A-5
Flowchart of sending 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 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
Return ICCID
Return 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.
Return OK
There is signal
Not register the
netwrok
Register the netwrok
AT+CMGF=1\r
AT+CSCS="GSM"\r
Return OK
Return ERROR
Return ERROR
Return OK
Send a text message
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 sent content. For
details, see the command set.
In general, set it to GSM for text format and
UCS2 for PDU format.
AT+CMGS="number"\r
9. Send the SMS message.
Note:
If you want to send PDU SMS messages,
send
AT+CMGS=Length
.
Length
indicates the length of the SMS
message. For details, see
A.1
.
Check whether
>
is returned
Not return >
Return >
10. Send data only after the module returns
>.
Neoway Technology<Ctrl+z>
Fail to send
Successful
End
11. Send data (end with 0x1A)
+CMGS: 117 (not a fixed value)
OK
Indicates that the data is sent successfully.
Note:
On the hyper terminal or UART tool, press
Ctrl+Z
to enter the end symbol 0x1A.