Added UART ring buffer