Sharing a serial port between two processes
Posted
by
peterrus
on Super User
See other posts from Super User
or by peterrus
Published on 2012-10-17T12:01:18Z
Indexed on
2012/10/18
17:07 UTC
Read the original article
Hit count: 186
As it is not possible to directly share a serial port between two processes using Linux, I am looking for another way to achieve this, I have heard about socat but could not find a concrete example of how to realize the following:
Split one physical serial port (/dev/ttyUSB0) into two virtual ports, one for reading and one for writing, as one process only needs to send data, and one only needs to receive data.
I can no modify the sending application unfortunately.
© Super User or respective owner