We are trying to communicate with a USB HIDDevice. This device is working fine in windows, where we can send a report and get a report back using WriteFile()
and ReadFile()
.
On the Mac, we are trying to interface with the device using setReoprt()
and getReport()
. But getReport()
is not returning any data, but an error.
What is the wrong in the application?