Tag Info

Hot answers tagged

2

Each type of USB device sends data in its own way. It's up to the driver to decide what to do with the data. For data sent through a serial device, simply read from /dev/ttyUSBn. </dev/ttyUSB0 awk ' {data += $0} /record end/ {print $0 | "process-one-record #" NR} '



Only top voted, non community-wiki answers of a minimum length are eligible