Compile incoming UART data into packets