Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
2.10 Deleting SMS Messages: +CMGD
To delete SMS messages from the current memory.
AT+CMGD=<index> [,<delflag>]<CR>
<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.
<CR><LF>+CMGD: (list of supported <index>s, list of supported <delflag>s)
Delete all read, sent, and unsent SMS messages.
Query the value ranges of parameters.
If you set
<delflag>
, ignor the parameter
<index>
.
2.11 Setting the SMS Center Number: +CSCA
To set the SMS center number
AT+CSCA=<sca>[,<tosca>]<CR>
<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).
<CR><LF>+CSCA: <sca>, <tosca>
AT+CSCA="8613800755500",145
Set an international SMSC number.
+CSCA: "8613800755500", 145