EasyManua.ls Logo

Neoway M590E - Deleting and Managing SMS

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
26
2.10 Deleting SMS Messages: +CMGD
Description
To delete SMS messages from the current memory.
Format
AT+CMGD=<index> [,<delflag>]<CR>
AT+CMGD=?<CR>
Parameter
<index>:The recording number of the stored SMS messages
<delflag>: Integer
0: Delete the SMS messages with the specified recording numbers.
1: Delete all read SMS messages.
2: Delete all read and sent SMS messages.
3: Delete all read, sent, and unsent SMS messages.
4: Delete all messages.
Return Value
<CR><LF>OK<CR><LF>
<CR><LF>+CMGD: (list of supported <index>s, list of supported <delflag>s)
<CR><LF>OK<CR><LF>
Example
AT+CMGD=1,3
OK
Delete all read, sent, and unsent SMS messages.
Delete successfully
AT+CMGD=?
+CMGD: (1-50), (0-4)
OK
Query the value ranges of parameters.
Remarks
If you set
<delflag>
, ignor the parameter
<index>
.
2.11 Setting the SMS Center Number: +CSCA
Description
To set the SMS center number
Format
AT+CSCA=<sca>[,<tosca>]<CR>
AT+CSCA?<CR>
Parameter
<sca>: SMS center number
<tosca>: The format of the SMS center number.
129
indicates common number;
145
indicates international number (add + in front of the number automatically).
Return Value
<CR><LF>OK<CR><LF>
<CR><LF>+CSCA: <sca>, <tosca>
<CR><LF>OK<CR><LF>
Example
AT+CSCA="8613800755500",145
OK
Set an international SMSC number.
AT+CSCA?
+CSCA: "8613800755500", 145
Query the SMSC number.

Table of Contents

Related product manuals