dhanraj_kmr
Advanced Member level 4
- Joined
- Sep 23, 2008
- Messages
- 117
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- Chennai, INDIA
- Activity points
- 2,174
Hi All,
I have interfaced a SIM300 modem with my PIC16f877a. I am able to send any AT commands to modem and able to make it work. And also i am able to receive one by one character from hyperterminal.
Here my doubt is since GSM modem may send any data at any number of bytes any time, how can i identify the end of character for all response correctly.
I could not find anything from GSM reply msg. All i received had 0x0A at the end. But This comes even in the middle of the msg. So can not judge based on this.
I read that i can configure GSM to send a custom character at the end of all reply. is it true?
Or can i use DTE and DTR to determine the response?
Any Idea?
I have interfaced a SIM300 modem with my PIC16f877a. I am able to send any AT commands to modem and able to make it work. And also i am able to receive one by one character from hyperterminal.
Here my doubt is since GSM modem may send any data at any number of bytes any time, how can i identify the end of character for all response correctly.
I could not find anything from GSM reply msg. All i received had 0x0A at the end. But This comes even in the middle of the msg. So can not judge based on this.
I read that i can configure GSM to send a custom character at the end of all reply. is it true?
Or can i use DTE and DTR to determine the response?
Any Idea?