cancel
Showing results for 
Search instead for 
Did you mean: 

I cant send data with USB HID class

-----????_---- ---??as
Associate III
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:

0690X00000604DDQAY.jpg

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
0 REPLIES 0