I want to read data from UART, i followed this tutorial, the write function works as expected, however i\'am getting problem with the read function :
This is the uart_in
There's an error in the read function
bytes_read = read(fd,&read_buffer,10); /* Read the data
should be
bytes_read = read(fd,read_buffer,10); /* Read the data