All those failed to read files means that they have not been added to your project. You can try just polling the the HalUARTPoll() in your code or you can experiment with what is suggested below.
Use one of the existing projects from the Project folder and modify it. You can make a copy of the testRelease example. In the HostTest_main.c, comment out the osal_start_system() and then try communicating with Btool.
You can read from the USB using:
// Poll USB for data is using USB Dongle
HalUARTPoll();
if (USB_data_ready){
HalUARTRead(HAL_UART_PORT_0,msg_buf1,cntr);
HalUARTRx(msg_buf1, 8);
READ_COMMAND();
USB_data_ready = 0;
}
The READ_COMMAND() routine is your own parsing routine to read what is in msg_buf1 or any buffer that that you define. The USB_data_ready flag is placed in the USB or UART ISR, I don't have the entire code with me, but it was placed in one of them. You will just have to search through the code and follow how and where the HalUARTRead and Rx are being used.
To send to the USB use:
HalUARTWrite(HAL_UART_PORT_0,trans_buf,trans_size);
You define the trans_buf and the trans size is the number of bytes in the buffer.
Thanks,