[time-nuts] OT : different Rx and Tx baud rate on same port
Bob Stewart
bob at evoria.net
Sat Dec 7 17:35:58 UTC 2013
Here is a snippet of code from a program in "C" I have running on Linux. Notice that I had to set both the input and output baud rates. After looking around on the web, it seems to be a matter of whether the hardware will support split baud rate. So, essentially, code it and try it.
cfsetospeed(&tioPLL,B4800); // 4800 baud
cfsetispeed(&tioPLL,B4800); // 4800 baud
tcsetattr(ttyPLL,TCSANOW,&tioPLL);
Bob
More information about the Time-nuts_lists.febo.com
mailing list