Joke Collection Website - Blessing messages - How does the AT command delete all short messages?

How does the AT command delete all short messages?

To delete all short messages, you can use the specified delete flag 4 (Delete All) (below

Command is located at +cmgd = 1, 4.

The detailed explanation of this command is as follows:

Use the set command, the preferred message store.

AT+CMGD operation command syntax

Setting command: at+cmgd =

Return result: ERROR/+ or cmeerror:

Ok, success.

Test command in +CMGD=? -

Detailed description of parameters

& ltindex & gt 1 ~ 255 integer type; Values within the range of address numbers supported by associative memory.

& ltdelflag & gt

-Delete

0 delete

1 Delete all read messages in memory.

2 Delete all the read and sent information in the memory.

3 Delete all read, sent and unsent information in the memory.

4 Delete all read, unread, sent and unsent messages in memory.