View Full Version : creating virtual serial port

June 11th, 2010, 06:22 AM
I am trying to send data over wifi using socket.
I am working on Ubuntu.
The data to be sent is received from a device over serial port.
I want to create a virtual serial
port which will read data from a file and present
it in way serial port will present for a given baud rate .
Can anyone help me out.
Thanks in advance.

June 11th, 2010, 12:15 PM
I'm not sure I understand. What do you mean by a virtual serial port?

June 11th, 2010, 07:10 PM
I meant that it will read data from a file and i can access it in user program using API for reading serial port.
Else I can enter data in terminal window which will be written to pty and read using using tty

June 11th, 2010, 08:29 PM