This would need changing to send the data in the format you need - but here it reads a string from the queue and displays (sends to Uart) it and the number of items left in the queue. It's running as a separate task.
I don't think so, but names might have been changed to protect the innocent.... Sometimes my memory plays tricks,
Martin