Linux Log Serial to Binary File

(stty raw; cat > received.log) < /dev/<your_serial_port>
Tired Thrush