A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
Problem in reading data from serial port.
I am writing code for reading & writing the data from serial port (UART of ARM Processor).
But i am facing a problem in reading.
As written in man page the read() call returns the character till it will get "Enter/Carriage return" or "EOF". I am interfacing the GPRS modem on this serial port. So from Modem there is no way to get me "Enter/Carriage return" or "EOF".
Because of this read() gets blocked.
Is there any other way to just read the received characters without EOF & returns that characters?
Please help me for this.