52 ã2000 Nokia Mobile Phones. All Rights Reserved.
AT+CMGD Delete Message
This command deletes a message from a preferred message storage
selected with the AT+CPMS com-
mand. Syntax:
AT+CMGD=<index> Delete message.
Parameters:
<index> location number
2.9. SMS Commands Used Only in PDU Mode
AT+CMGL List Messages
This command returns messages with a status value <stat> from a
preferred message storage selected with the AT+CPMS com-
mand. Syntax:
AT+CMGL[=<stat>] List messages. Response is +CMGL: <in-
dex>,
<stat>,,<length><CR><LF><pdu> and
it is
repeated several times if more than one
short
message is listed.
AT+CMGL=? Show valid values. Response is +CMGL:
(list
of supported <stat>s).
Parameters:
<stat>
0 received unread messages
1 received read messages
2 stored unsent messages
3 stored sent messages
4 all messages