Originally Posted by TB0ne
You can use minicom, but if you only have to send one string and be done, the echo is better.
Look up the control codes and escape characters on the net, there are many examples. In your case, try:
echo "\\%PR1\r" > /dev/ttys0
Thanks for the help.
That didnt work. Well I didnt get an error message but the device didnt respond (I did it with hyperterminal in a windows machine so im sure about the cable/device)
Maybe it has to do with the configuration of my ttyS0 (com port)
I need the following settings:
1-Baud = 6900
2-Data = Eight bit
3-Parity = None
4-Stop = One bit
5-Handshake = None
6-Configuration = Non-multidrop
What would be the correct stty syntax to set this ?