uwb_serial 1.0.0

UWB serial connector
Documentation
1
2
3
4
5
6
7
8
9
import sys
import time

# sudo socat PTY,link=/dev/ttyS50 PTY,link=/dev/ttyS51
# make S50 listen from S51
with open("/dev/pts/6", "wb+", buffering=0) as term:
    while True:
        term.write("hello".encode())
        time.sleep(1)