Posted by: oldmaven March 9, 2007
Login in to Rate this Post:
0
?
.
Probably you were looking for a code as such ?
http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html
____________________________________________________________ If i were you, i would try with few things first! Machine 1: [root]# cat /dev/ttyS0 Machine 2: [root]# echo "test" > /dev/ttyS0 for COM1 ,that is! on both machines! and i would vary the BAUD RATE with the stty -F /dev/ttyS0 9600 and so forth to verify as well! # man stty [ You'd love this Page! ] Do let us know , how you did that as well once you are done!
____________________________________________________________ If i were you, i would try with few things first! Machine 1: [root]# cat /dev/ttyS0 Machine 2: [root]# echo "test" > /dev/ttyS0 for COM1 ,that is! on both machines! and i would vary the BAUD RATE with the stty -F /dev/ttyS0 9600 and so forth to verify as well! # man stty [ You'd love this Page! ] Do let us know , how you did that as well once you are done!