added socat echo=0 option back
This commit is contained in:
1 parent
94be82dca6
commit
2cae787e2a
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user