Rainbow Electronics MG260 User Manual

Page 81

Advertising
background image

FLYFOT-MG260-MODULE

Page: 81 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

AT+CMSS=?

Defined values

<index>

<da>

<toda>

<mr>
See above descriptions.



9.12 Delete message +CMGD

Description :

This command is used to delete one or several messages from preferred message storage (“BM” SMS
CB ‘RAM storage’, “SM” SMSPP storage ‘SIM storage’ or “SR” SMS Status-Report storage).

Syntax :

Command syntax : AT+CMGD=<Index> [,<DelFlag>]
Command

Possible responses

+CMTI:.SM.,3
Note : New message received

AT+CMGD=3
Note : Delete it

OK
Note : Message deleted

AT+CMGD=52
Note : Delete it

+CMS ERROR: 321
Note : the index is wrong.

AT+CMGD=1,0 OK

Note : The message from the preferred
message storage at the location 1 is
deleted

AT+CMGD=1,1 OK

Note : All READ messages from the
preferred message storage are deleted

AT+CMGD=1,2 OK

Note : All READ messages and SENT
mobile originated messages are deleted

AT+CMGD=1,3 OK

Note : All READ, SENT and UNSENT
messages are deleted

Advertising