[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Echo to serial port usb
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Echo to serial port usb
- From: mac johnsto <macjohnsto@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 2 Apr 2016 19:01:14 +0300
- To: libssh@xxxxxxxxxx
Hi everyone I am facing a problem with echo command. The project says about a client who send an echo command to a server sending a signal to an arduino (connected to server). The server runs one time the commands: *stty - F /dev/ttyACM0 raw - echo* *cat < /dev/ttyACM0 > /dev/null* Using putty everything goes well. The problem is when I use my code (chapter 4 of libssh documentation) the first echo command I send works but all the others that follow not working and the command* cat < /dev/ttyACM0 > /dev/null* terminates.
Archive administrator: postmaster@lists.cynapses.org