In the project, look at the routine ExchangeInputAndOutputReports.
You will need to modify the project to fill outputReportBuffer with the data you want to send and to display or process the contents of inputReportBuffer as needed.
You will also need to convert your strings to and from byte arrays.
Be aware that all HID data travels in reports, which have defined lengths.