added socat echo=0 option back
This commit is contained in:
parent
94be82dca6
commit
2cae787e2a
2
main.py
2
main.py
|
@ -16,7 +16,7 @@ addr = '/tmp/rfmtty'
|
|||
addr_client = '/tmp/rfmtty_client'
|
||||
baudrate = 115200
|
||||
|
||||
cmd=['/usr/bin/socat','-d','-d','PTY,link=%s,rawer,b%d' %(addr, baudrate), 'PTY,link=%s,rawer,b%d' %(addr_client, baudrate)]
|
||||
cmd=['/usr/bin/socat','-d','-d','PTY,link=%s,raw,echo=0,b%d' %(addr, baudrate), 'PTY,link=%s,raw,echo=0,b%d' %(addr_client, baudrate)]
|
||||
socat_proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
time.sleep(1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue