using cat and echo to write to /dev/ttyUSB0
im using cat and echo to read and write to and from a usb serial device. # shell session 1 echo "send to device" >/dev/ttyUSB0 # shell session 2 cat /dev/ttyUSB0 this works great if i do this manually. when running a script, the echo command somehow looses usually the first 1-4 characters of the string and the device only received the rest example: device typically would receive "nd to device" can someone give me a hint why this is?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.