added socat echo=0 option back

This commit is contained in:
Paul 2024-01-08 18:00:26 +01:00
parent 94be82dca6
commit 2cae787e2a
1 changed files with 1 additions and 1 deletions

View File

@ -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)