AnsweredAssumed Answered

I cant send data with USB HID class

Question asked by -----????_---- ---??as on Nov 10, 2017

I can easily see in debug what I send from terminal but I cant send any data from stm32f4 discovery.I think I didnt make report descriptor work to sending data.This is what I have done so far:

 

 

I try to send data with data array in while but not working:

 

while (1)
{
/* USER CODE END WHILE */

/* USER CODE BEGIN 3 */

      dataToSend[0]=0x00;
      dataToSend[1]=0x00;
      dataToSend[2]=0x00;
      USBD_CUSTOM_HID_SendReport(&hUsbDeviceFS,dataToSend,3);
}

 

 

I simply want to send random 64 Bayt Array.

Outcomes