beautypg.com

Westermo GD-01 User Manual

Page 70

background image

70

6196-2220

+CMGD – Delete message

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:

AT+CMGD= [,]

Command example

Possible responses

Note

+CMTI:”SM”,3

New message received

AT+CMGR=3

+CMGR: “REC UNREAD”,

Read the received

”0146290800”,

message. Unread

“98/10/01,18 :19 :20+00”

message received from

0146290800
on the 01/10/1998
at 18H19m 20s

AT+CMGD=3 OK

Delete

it, result:

Message deleted

AT+CMGD=1,0

OK

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

AT+CMGD=1,1

OK

All READ messages from
the preferred message
storage are deleted

AT+CMGD=1,2

OK

All READ messages and
SENT mobile originated
messages are deleted

AT+CMGD=1,3 OK

All

READ, SENT

and

UNSENT messages are
deleted

AT+CMGD=1,4

OK

All messages are deleted.

B A C K