WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
63
Parameter
<index>: Message location
<da>: the destination number of the SMS messages
Return Value
if text mode (+CMGF=1) and sending successful:
+CMSS: <mr>[,<scts>]
if PDU mode (+CMGF=0) and sending successful:
+CMSS: <mr>[,<ackpdu>]
Example
AT+CMSS=2
+CMSS: <mr>
OK
Send the SMS messages stored in
memory 2.
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)
Query the value ranges of parameters.