Clear SMS store in Siemens MC35 mobile module...

Hi All,
Any ideas how to bulk clear SMS store (for instance Read Messages) in Siemens MC35 mobile module without actually listing / reading the messages (AT+CMGL="REC READ") first, getting message index and then deleting one by one (AT+CMGD=<index>)..
 - Pavel
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you use the right settings with AT+CNMI, then your messages will not stored on the SIM card. Your application will run faster and you most not clear the SMS store on the main SMS classes. Please note that one of four SMS classes will all the time stored on SIM. If somebody spam you in this SMS class then you have to use the standard way of clear of the SMS store on your SIM.

Message class is coded in TP-Data-Coding-Scheme field, defined in GSM 03.40, indicates the data coding scheme of the TP-UD field, and may indicate a message class.
Bit 1 Bit 0 Message class Description
0 0 Class 0 Immediate display (alert)
0 1 Class 1 ME specific
1 0 Class 2 SIM specific
1 1 Class 3 TE specific

The GSM 03.40 you can download at A lot of details on GSM data communication you will found at:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi Pavel,

as far as I know, there's no other way to delete all messages at once. I was looking for that, too, in my current project, but couldn't find anything. So, I'm using a loop through all indexes and delete them with CMGD.


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.