hello, I am new in this micocontroller world actually I am interfacing sim300 gsm modem with 89c51, I want to indicate the incoming call on modem using lcd but I am not getting how to stop reading the text, now I am using counter means I have set the counter at 0, when there is a call on modem it sends ring continuously on serial port it creats interrupt then I an increasing counter when it reaches to 4 I am printing RING on lcd bt for every command its nt possible to set counter every time so I wanted to know what char does a modem sends after every ring because of which it prints ring on next line, if u check it on modem want to grab that char and using that wants to stop reading If any one knows anything about this plz reply me thank you
1) Doesn't the manual tell?
2) Can't you print each character as a number to see the ordinal value of the received characters?
3) Haven't you found quite a large number of threads already that tells what line ending the modem is using?
4) Have you considered any possible "standard" characters that a device may possibly use when it wants to signal that it has emitted all it wants to emit on a specific line and might to signal a line feed or maybe a carriage return?
Yes - it most certainly does!