3 defined values, 12 delete message +cmgd, 1 description – Rainbow Electronics 900 User Manual

Page 80: 2 syntax, Delete message +cmgd

Advertising
background image

FLYFOT-M260-MODULE

Page: 80 / 239

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

AT+CMSS=5, 13901011234, 129
Note : Send the message 5 to a different
destination number and different <toda>

+CMSS :<mr>
OK
Note : Successful transmission

AT+CMSS
AT+CMSS?
AT+CMSS=?

+CMS ERROR: 3
Note: not supported.

9.11.3 Defined values

<index>

<da>

<toda>

<mr>
See above descriptions.



9.12 Delete message +CMGD

9.12.1 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).

9.12.2 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

Advertising