This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F4 HID Host Send data to custom device

I want to send data to my custom HID device from STM32F4-Discovery (HID Host)
I modify from STM32_USB-Host-Device_Lib_V2.1.0
My host was detected my custom HID device.But I don't know how to send data from my host to my custom HID device.
I use a push button + EXTI void EXTI0_IRQHandler(void) { if(EXTI_GetITStatus(EXTI_Line0) != RESET) { USBH_InterruptSendData (&USB_OTG_Core_dev ,(uint8_t*)0x31,1,0x00); /* Clear the EXTI line 0 pending bit */ EXTI_ClearITPendingBit(EXTI_Line0); } }
to send data to my custom device but nothing happen (My custom HID device if It recieve "1" a led will turn on).
Please help me.