osx - Writing to USB HID Device with IOKit IOHIDDeviceSetReportWithCallback -
i trying communicate asynchronously usb hid device using iohidmanager iokit. have no problem registering callback iohiddeviceregisterinputreportcallback
, setting reports iohiddevicesetreport
. when try , use iohiddevicesetreportwithcallback
communicate device it's no go.
error kioreturnunsupported (0xe00002c7).
here link gentleman same issue apple usb mailing list.
i didn't want think response above message correct, can confirm that, method not implemented. here part of response apple developer technical support:
looking thru sources iohiddevicesetreportwithcallback calls (*device->deviceinterface)->setreport; in theory should iokit hid driver… looking @ returns kioreturnunsupported…
Comments
Post a Comment