
Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
43
AT+CMSS=2
CMS ERROR: <err>
Send the SMS messages stored in
memory 2.
Remarks
N/A
5.11 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
See the Example.
Example
AT+CMGD=3
OK
Delete successfully
AT+CMGD=?
+CMGD: (0-49), (0-4)
OK
Query the value ranges of parameters.
AT+CMGD=0,4
OK
Delete all messages.
Remarks
If you set
<delflag>
, ignor the parameter
<index>
.
5.12 Setting the SMSC Number: +CSCA
Description
To set the SMSC 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
See the Example.