diff --git a/annunciatorServer/annunciatorServer.sh b/annunciatorServer/annunciatorServer.sh index 807cbfd..b134f01 100755 --- a/annunciatorServer/annunciatorServer.sh +++ b/annunciatorServer/annunciatorServer.sh @@ -4,7 +4,13 @@ port=/dev/ttyUSB0 cmdfile=~/annunciatorServer.txt ## Setup serial port -stty -F $port ispeed 9600 ospeed 9600 -ignpar cs8 -cstopb -hupcl +## speed 9600 baud; rows 0; columns 0; line = 0; +## intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 0; time = 0; +## -parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts +## -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 +## -opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 +## -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke -flusho -extproc +stty -F $port 0:4:8bd:0:3:1c:7f:15:4:0:0:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 ## Setup files touch $cmdfile