Link to home
Start Free TrialLog in
Avatar of mnewett
mnewett

asked on

SMS AT commands - how can i identify when a new SMS message is received, and which index number the message is stored under.

I know that "AT+CPMS" checks the message storage space, so i can use this to determine when a new message has arrived - but i do not know which index number the SMS is stored at.

I have to use "AT+CMGR=x" (where x is the index number) to check every possible message index.

"AT+CMGF" will list all messages - but takes far to long (typically about 20 seconds).

How can i identify which index number a new SMS message is stored at.
ASKER CERTIFIED SOLUTION
Avatar of Fisman
Fisman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial