I am using SIM900A for some purpose and want to know the number of the sender from where message come.I am unable to find the a specific AT command related to receiving message which give me number from where latest message comes.
I had used AT+CNMI (it corresponds to notification regarding latest received message ) but unable to find sender number.
I had seen AT+CMGL=[,] will give you a string which will have oa i.e originating address and once that is stored in a string i can easily parse it out, but when i had data format of that string.Need help or any suggestion if somebody can help me out with any other possible solution.
I wasn't able to send the output of AT+CMGl to serial terminal of arduino(i was suing software serial for serial terminal and serial for GSM module).And when i tried the same command AT+CMGL over terminal while communicating with GSM module i get error.
So if some one can help me with the format of the output string of Command AT+CMGL, i can then work out with parsing and storing the number in a variable.
I am doing this because, i want to make a generic program in Arduino without using GSm library so that when ever a message come from a specific number , reply is being send to the same number.If any one has any other solution please do let me know.