|
From: Phani K. <pha...@gm...> - 2016-03-10 14:28:04
|
Hi All I am facing an issue on big endian platform and the details are given below: There is a device with vendor specific command structure. I send a command on OUT endpoint (endpoint number 2) using libusb_bulk_transfer and read the output by placing buffer on IN endpoint(Endpoint number 0x81). The OUT endpoint always responds and IN endpoint does not respond. My command times out and it calls abort. For the IN endpoint, I am not getting interrupt from the device. The command structure has all unsigned char fields with one integer field. I made sure I did byte swapping for the integer field to make it endianness compatible. The same code perfectly works in windows. May I know if anybody knows any solution for this or am I missing something? Regards Venkat |