Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete SMS Messages Not working on SIM800L module #35

Open
Jppx opened this issue Feb 14, 2021 · 1 comment
Open

Delete SMS Messages Not working on SIM800L module #35

Jppx opened this issue Feb 14, 2021 · 1 comment

Comments

@Jppx
Copy link

Jppx commented Feb 14, 2021

Hi.
The Delete SMS command doesn't seem to work with my SIM800L module. If you dig into the library code, the AT command used always returns an error on this module. I've got around the issue by looking at the AT+ command standards, and discovered that the following command deletes all messages, resetting the memory index back to 1, on the SIM880L.

"AT+CMGD=1,4\r"

(The ',4' in the above command instructs the modem to ignore the index given (ie. 1) and delete ALL messages from memory.)

Hope this helps others with the same issue.

@cristiansteib
Copy link
Owner

Hi @Jppx
Thanks for the information. Could you send a pull request to suggest the change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants