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

Read SMS without storage #104

Open
seeo2 opened this issue Apr 13, 2020 · 2 comments
Open

Read SMS without storage #104

seeo2 opened this issue Apr 13, 2020 · 2 comments

Comments

@seeo2
Copy link

seeo2 commented Apr 13, 2020

This Python libary is fantastic! Fall in love with Python partly because of this. Made my life much easier.

I'm developing a SMS receiver which constantly receive SMS at 1-minute interval. Looking into the code it used ME storage. I'm just afraid the storage hardware may fail in a few months time due to wear and tear. Instead, it is possible to receive SMS without storage?

Sorry if this is wrong place as I'm new to Github too.

@tomchy
Copy link

tomchy commented May 6, 2020

Hello!
There is a delete parameter inside listStoredSms modem's API that will issue SMS deletion right after reading them from modem's memory

Additionally - if you find any issues, please check the updated fork as this repository is no longer maintained.

@seeo2
Copy link
Author

seeo2 commented May 19, 2020

Appreciate that, Tomchy!

I figured out a way to bypass any memory storage by setting CNMI=1,2,0,0,0. SMS will send directly to TE. In this way, memory will not be wear and tear even for bulk SMS reception.

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