August 18, 2009

Serial port communication

Forums: 

Hi everybody,

I would like to send some text or command to the serial port (to the some HW) and read answer back. It works in terminal. I did probe it in minicom app. But when I would like to probe it in command line, it doesn't work.

Sending ...
echo "...." > /dev/ttyS0
It works ...

Reading ...
cat /dev/ttyS0
It doesn't work ..

Can you help me, please? Thnx for all info.

Rene