cancel
Showing results for 
Search instead for 
Did you mean: 

Extending custom HID example for 2 separate outputs

frackers
Senior

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

0 REPLIES 0