Question
I cant send data with USB HID class
Posted on November 10, 2017 at 09:18
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.
#usb-hid