I want to read incoming SMS messages from a SIM800L module. Going to use this command AT+CNMI.
I don't want any SMS to be in the SIM card. Because Later they will give too much trouble for me telling buffer full & no space for incoming messages blah blahh...
I dont have time to read SMS store locations & delete them one by one.My mainloop is full of busy.
My doubt is if I use AT+CNMI command will the recieved SMS will store in SIM card in any manner? Or they will push to Arduino without storing in SIM card?
Prasanjith:
My doubt is if I use AT+CNMI command will the recieved SMS will store in SIM card in any manner?
No, the massage is read as 'flash SMS'
KASSIMSAMJI:
No, the massage is read as 'flash SMS'
Many thanks for the reply.So they will directly send to arduino nothing is inside the SIM.
What about if I send a SMS from arduino? Do I need to delete the sent SMS from message storage areas? I'm really dissapointed on this SMS storage handling.
I want to keep my SIM clean all the time.
Prasanjith:
Many thanks for the reply.So they will directly send to arduino nothing is inside the SIM.
What about if I send a SMS from arduino? Do I need to delete the sent SMS from message storage areas? I'm really dissapointed on this SMS storage handling.
I want to keep my SIM clean all the time.
In your code, don't you have an SMS message output buffer? Typically you would re-use it by overwriting it every time you use it.
Prasanjith:
What about if I send a SMS from arduino? Do I need to delete the sent SMS from message storage areas?
more likely..
but you can issue AT+CMGD=1,4 ( that deletes every trace of SMS ( sent, read, unread, etc) ) every once in a while to be on safe side
aarg:
In your code, don't you have an SMS message output buffer? Typically you would re-use it by overwriting it every time you use it.
You didn't get what I meant.I'm talking about SIM storage (where sent messages are stored in SIM).
KASSIMSAMJI:
more likely..
but you can issue AT+CMGD=1,4 ( that deletes every trace of SMS ( sent, read, unread, etc) ) every once in a while to be on safe side
You got it.I 'll try to do that.My main loop is really busy.