Hello,
I'm currently using a USB composite device with 2 interfaces.
The first interface contains endpoint 0x81 and the second one contains 0x82.
I've succeeded to open this device and read/write data, but the interface mode is always the first one, with which I can retrieve 20 bytes of data.
I'd like to set interface mode to the second one, in order to get 15 bytes of data.
I guess I have to do that before calling CreateFile method. I've noticed SetupDiEnumDeviceInterfaces method but I'm not sure it's the right one since I didn't succeed to set interface.
Did anyone succeed to set interface of a composite USB device ?
Thanks for your answer.
Regards,
--
Aymeric