Updated wb_uart to read the correct number of bytes