Digicom pocket GSM User Manual page 47

Dual-band modem
Table of Contents

Advertisement

PocketGSM
Examples
1) AT+CNMI=2,1
Report: +CMTI: "SM",2
Description: The received SMS has been stored in the location 2 of the SIM memory.
2) AT+CNMI=2,2
Report: +CMT: "+393217654321",,"01/01/75,12:06:14+00"
First SMS message with PocketGSM
Description: the received SMS is displayed directly on the DTE.
AT+CMGD Delete messages
This command is used to delete the SMS messages stored in the SIM memory.
For further information on AT+CMGD command, see the chapter "Functional Examples".
Command
AT+CMGD=<index>,<deflag> OK / ERROR
<index>
Memory index
<deflag>
Delete method
0
Delete the message in the <index> position.
If <deflag> value is omitted, it will be equal at 0.
1
Delete all the received and read messages: "REC READ". The <index> value
is ignored.
2
Delete all the received, read, saved and sent messages: "REC READ" and
"STO SENT". The <index> value is ignored.
3
Delete all the received, read, saved, sent and unsent messages: "REC READ",
"STO SENT" and "STO UNSENT". The <index> value is ignored.
4
Delete all messages. The <index> value is ignored.
Possible answers
4.27
AT Commands
Action
Cancella i messaggi SMS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents