This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640: Addind uart to project

Part Number: CC2640

Tool/software: TI-RTOS

I want to add UART debugging interface to SimpleBLECentral project. 

My code in main : 

const unsigned char hello[] = "Hello World\n";

UART_init();

UART_Params_init(&params);
params.baudRate = 115200;
params.writeDataMode = UART_DATA_BINARY;
params.readDataMode = UART_DATA_BINARY;
params.readReturnMode = UART_RETURN_NEWLINE;
params.readEcho = UART_ECHO_OFF;
handle = UART_open(Board_UART, &params);

UART_write(handle, hello, sizeof(hello));

I am getting a write on the terminal. But I want to do a read option to, what is a task parameters to configure task for reading.

I will very greatful to get any example of using uart . Is there any example?

Thanks