Wouter
Wouter

Reputation: 13

AT command to delete received messages using TC35i modem

I am trying to add a delete all stored messages function to my Java program. I have tried

AT+CMGD=all
AT+CMGD=del all
AT+CMGD=1,4
AT+CMGD=1.4

I cannot find the answer in the AT command sheet so i'm wondering if there even is a delete all command for the TC35i.

I use Hyperterminal for testing commands (no need to provide code)

I can delete individuel messages using the usual AT+CMGD=<index>

Upvotes: 1

Views: 839

Answers (1)

ximingr
ximingr

Reputation: 111

I found the manual from http://www.comat.ch/unitronics/download/manual/TC35i%20AT%20Commands.pdf

From that, it does not support to delete all SMS with one AT. Since you program in JAVA, maybe you can make a loop to delete one by one.

And, in latest standard, AT+CMGD=1,4 shall be the AT you expected.

Upvotes: 1

Related Questions