2019-09-01 09:05 PM
I'm developing a device on an stm32f7 that uses USB HID to communicate data both ways.
I have 4 buttons working nicely with a simple report descriptor and wrapper round USBD_HID_SendReport().
What I'd like to do is send a couple of short (8 word) 16 bit arrays to the device. They are not logically related so following the LED example in the Cube library where user data selects the destination isn't my first choice - I'd rather use 2 endpoints but I can't work out whether the hardware supports this.
If the hardware supports this, does anyone have a simple example? Also a sample host app (Linux preferred!) to be able to send the data to the device would be useful.
Many thanks