add serialsock

This commit is contained in:
2022-01-19 17:31:04 +03:00
parent 786ed54d03
commit 9192ee09a3
78 changed files with 5244 additions and 0 deletions

5
Socket_CAN/diff/clientscript Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
for ((x=0; x<10; ++x)); do
socat TCP-LISTEN:2000 PTY,link=/tmp/ttyX0,raw,crnl
done

6
Socket_CAN/diff/serverscript Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
#for ((x=0; x<10; ++x)); do
socat pty,link=/tmp/ttyX0,waitslave tcp:127.0.0.1:2002 &
ssh -L 2002:robotel1:2000 -N -f robotel1
#done