WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
145
A.7 Common AT Commands for SMS TX/RX
Function
Format
Example
Description
Set text mode
AT+CMGF=1
AT+CMGF=1
OK
AT commands to be set
when
sending
SMS
messages in text mode
To set the TE
character set
AT+CSCS="GSM"
AT+CSCS="GSM"
OK
Set PDU mode
AT+CMGF=0
AT+CMGF=0
OK
AT commands to be set
when
sending
SMS
messages in PDU mode
Display TE in
hexadecimal
AT+CSCS="UCS2"
AT+CSCS="UCS2"
OK
Send
SMS
messages.
AT+CMGS="
Number
"
AT+CMGS"13430981508"
>Shenzhen
+CMGS: 232
OK
Enter
the
AT+CMGS"13430981508"
command and press
Enter
(\r).
When > is displayed, enter
the
message
content
(Shenzhen)
and
press
Ctrl+Z
(character 0x1A) to
sent the message.
Notice mode of
new messages
AT+CNMI=2,1,0,0,0
AT+CNMI=2,1,0,0,0
(Received SMS message
and message SN)
+CMTI: "SM", 1
The CNNI can be set to
2,2,0,0,0.
Read
SMS
messages
AT+CMGR=1
AT+CMGR=1
+CMGR:"REC UNREAD",
"13430981508",,"
2012/09/08 16:30:08+32"
Shenzhen Neoway
Technology
OK
Read all SMS
messages
AT+CMGL="ALL"
AT+CMGL ="ALL"
List all messages
If AT+CMGF=0, the
command to read all
SMS messages is
AT+CMGL =4
.
The unread SMS