//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 11:37, local time: 2020/10/19 22:43,
|©2020 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://piclist.com/techref/os/linux/serialcmds.htm"> Linux Command line Serial Communications</A>
|Did you find what you needed?|
PICList 2020 contributors:
o List host: MIT, Site host massmind.org, Top posters @20201019 Bob Blick, RussellMc, madscientistatlarge, Jason White, Neil, David C Brown, Sean Breheny, Harold Hallikainen, James Cameron, Allen Mulvey,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to piclist.com!