Microcontroller › 8051 › how to read the received message/number from microcontroller › how to read sms using gsm
April 1, 2016 at 9:58 am #13834
You need to write some code .I hope you successfully interface UART and modem.When you receive the msg on GSM collect the data in the buffer and at the end of the msg you will get +CMT. check +CMT and set the flag. I am going to write some rough logic.
if((MSSG == '+')&& (MSSG == 'C')&& (MSSG == 'M')&& (MSSG == 'T'))
sms_rcv = 1;
sms_rcv = 0;
parse_msg(); // here check the buffer in which you received the data.and send it on LCD