Reputation: 13
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
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