EasyManua.ls Logo

Neoway M590E - Writing SMS Messages: +CMGW

Neoway M590E
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
24
<Ctrl-Z>: Indicates the end of the input message, in the example.
<ESC>: Indicates giving up the input message
Return Value
if text mode (+CMGF=1) and sending successful:
<CR><LF>+CMGS: <mr>[,<scts>]
<CR><LF>OK<CR><LF>
if PDU mode (+CMGF=0) and sending successful:
<CR><LF>+CMGS: <mr>[,<ackpdu>]
<CR><LF>OK<CR><LF>
Example
AT+CMGS="66358"<CR>
> This is the text
+CMGS: 171
OK
Text
mode(+CMGF=1)
is the symbol after
you press
Ctrl+Z
.
AT+CMGS="15889758493"<CR>
> This is the text
ERROR
AT+CMGF=1
might
not be executed.
AT+CMGS=33<CR>
>0891683108705505F001000B815118784271F20008146DF15
7335E025B9D5B89533A59276D6A80545EFA
+CMGS: 0
OK
PDU mode
(+CMGF=0)
Remarks
If you use UART debugging tool to sent PDU SMS message, enter
\r
behind the
AT+CMGS
command manually or send
<CR>
in hexadecimal system.
For details about PDU, see the A.1 Content of PDU SMS Messages.
2.8 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>
Parameter
<da>: The destination number to which the SMS message is sent in text mode
<text>: SMS message content in text mode
<length>: The byte length of the SMS message content in PDU mode
<index>: Location information
<CR>: End character
<Ctrl-Z>: Indicates the end of the input message
<ESC>: Indicates giving up the input message
Return Value
<CR><LF>+CMGW:<index>

Table of Contents

Related product manuals