/* Task to retrieve the HID device information from an attached device, and output the relevant data to the serial port for analysis.  */
void RetrieveDeviceData(void)
/* Task to retrieve the HID device information from an attached device, and output the relevant data to the serial port for analysis.  */
void RetrieveDeviceData(void)
{
	if (USB_HostState != HOST_STATE_Configured)
	  return;
	LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
	OutputReportSizes();
	OutputParsedReportItems();
	LEDs_SetAllLEDs(LEDMASK_USB_READY);
	USB_Host_SetDeviceConfiguration(0);
}