amit251291
Member level 1
- Joined
- Jul 18, 2012
- Messages
- 38
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,558
hello
I want to send and receive sms through gsm modem. I am using avr 128. I am able to send messages but I am not getting how should I receive a message.
To read a message I need to send AT+CMGR=1. This will read the first message. But to read that I need to read response of this command i.e. in turn I need to read UBR. Now the response of this command is big. so how should I read it ?? Also how should I take only message part from this response ??
How should I poll to check whether a message has arrived or not ??
please suggest me some good tutorial/code snippet / actual flow which will explain my doubts and help me to complete my code!
I want to send and receive sms through gsm modem. I am using avr 128. I am able to send messages but I am not getting how should I receive a message.
To read a message I need to send AT+CMGR=1. This will read the first message. But to read that I need to read response of this command i.e. in turn I need to read UBR. Now the response of this command is big. so how should I read it ?? Also how should I take only message part from this response ??
How should I poll to check whether a message has arrived or not ??
please suggest me some good tutorial/code snippet / actual flow which will explain my doubts and help me to complete my code!