WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
61
<Ctrl-Z>: Indicates the end of the input message
<ESC>: Indicates giving up the input message
Return Value
if text mode (+CMGF=1) and sending successful:
+CMGS: <mr>[,<scts>]
if PDU mode (+CMGF=0) and sending successful:
+CMGS: <mr>[,<ackpdu>]
Example
AT+CMGS="66358"<CR>
> This is the text<Ctrl-Z>
+CMGS: 171
OK
Send messge in text
mode.
After writing the SMS
content, press Ctrl+Z
to sent the SMS.
AT+CMGS=33<CR>
>0891683108705505F001000B815118784271F2000814
6DF157335E025B9D5B89533A59276D6A80545EFA<Ctrl
-Z>
+CMGS: 119
OK
Send message in
PDU mode.
Remarks
If you use UART debugging tool to send a PDU SMS message, enter
\r
after
the
AT+CMGS
command manually or send
<CR>
in hexadecimal system.
For details about PDU, see the A.1 Content of PDU SMS Messages.
5.9 Writing SMS Messages: +CMGW
Description
To write an SMS message into the memory
The location information
<index>
will be returned after the message is saved
correctly.
Format
Command syntax (text mode):
AT+CMGW=<oa/da>[,<tooa/toda>[,<stat>]]<CR>text is entered<Ctrl-Z /ESC>
Command syntax (PDU mode):
AT+CMGW=<length>[,<stat>]<CR>PDU is given<Ctrl-Z /ESC>