Simple C or C++ script to read serial port buffer
If you know how many bytes to expect you can even do this in a script. For instance, if you know you'll always get 8 bytes at a time: dd if=/dev/ttyS0 of=data.$(date +%N) count=1 bs=8 It is also pretty easy to do this in c or c++. Use the same commands yo...