Code:
//from the command line, set a USB serial adapter, then interact, ctrl-c to exit stty -F /dev/ttyUSB0 ospeed 57600 ispeed 57600 raw cat /dev/ttyUSB0 & cat > /dev/ttyUSB0
//from the command line, set a USB serial adapter and send and receive data stty -F /dev/ttyUSB0 ospeed 57600 ispeed 57600 raw echo -ne '?' > /dev/ttyUSB0 cat -v < /dev/ttyUSB0+
file: /Techref/os/linux/serialcmds.htm, 0KB, , updated: 2017/9/27 10:37, local time: 2024/12/17 19:23,
owner: JMN-EFP-786,
18.220.63.250:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/linux/serialcmds.htm"> Linux Command line Serial Communications</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.