semesterprojekt-bluetooth-p.../scripts-pfc200/auto_read.sh

8 lines
223 B
Bash

#!/bin/bash
## path: /home/script/auto_read.sh
## configures tty and listens for bluetooth input to pass it on
stty -F /dev/service 19200 parenb -parodd -cstopb cs8
cat /dev/service | xargs -n 1 /home/script/auto_cert.sh