c_uart_interface_example customized by yucong