SIM5300E AT Command Manual V1.02
4.2.1 AT+CMGD Delete SMS Message
AT+CMGD Delete SMS Message
Test Command
AT+CMGD=?
Response
+CMGD: (list of supported <index>s),(list of supported <delflag>s)
OK
Write Command
AT+CMGD=<index>[,<delflag>]
Response
TA deletes message from preferred message storage <mem1> location
<index>.
OK
If error is related to ME functionality:
+CMS ERROR:<err>
Parameters <index>I
nteger type; value in the range of location numbers supported by
the associated memory
<delflag>
0 Delete the message specified in <index>
1 Delete all read messages from preferred message storage,
leaving unread messages and stored mobile originated
messages (whether sent or not) untouched
2
Delete all read messages from preferred message storage and
sent mobile originated messages, leaving unread messages
and unsent mobile originated messages untouched
3 Delete all read messages from preferred message storage, sent
and unsent mobile originated messages leaving unread
messages untouched
4
Delete all messages from preferred message storage including
unread messages
Reference
3GPP TS 27.005
4.2.2 AT+CMGF Select SMS Message Format
AT+CMGF Select SMS Message Format
Test Command
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
OK
Read Command
AT+CMGF?
Response
+CMGF: <mode>