Linux log serial to biny arquivo
(stty raw; cat > received.log) < /dev/<your_serial_port>
Tired Thrush
(stty raw; cat > received.log) < /dev/<your_serial_port>