Serial Port read in shell script
I am trying to control some external devices through the serial port with some shell scripts. To write to the devices I can do:
> echo "hello" > /dev/ttyS0
I'm assuming this works, though I haven't yet been able to validate. Now I want to read back some info. Either reading into a variable or file would be ok too.
Thanks for the help.
|