I produced a VSP using SOCAT with below command:
socat -d -d pty,raw,echo=0 pty,raw,echo=0
where I had been able produce a serial device (19200,N,8,1) and send and receive data using Python.
So I must perform the same for just one more device with config of (19200,even_aprity,hardware flow in Python) after i do this its tossing below error:
Traceback (most recent call last): File "py2.py", line 163, in <module> buffer += ser.read(1) # this will block until one more char or timeout File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line 311, in read if self.fd is None: raise portNotOpenError serial.serialutil.SerialException: Port not open Exception SystemError: 'error return without exception set' in <bound method BreakHandler.__del__ of <sig_handler.BreakHandler instance at 0xb719338c>> ignored