[libhid-discuss] Asynchronous I/0 operation through libhid

Anmol Ranka Anmol_Ranka at mindtree.com
Fri May 4 09:50:23 UTC 2007


Hi,

I could use 'libhid' to communicate with our USB based HID generic device.
'test_libhid.c' provided me a good starting point. Thanks Charles for
providing quick replies and support.

I need few clarification regarding the features provided my 'libhid':

 1) Is asynchronous non blocking I/0 operation supported by libhid-0.2.16. If
yes, can you please provide me its documentation?

 2)Can I simultaneously perform read and write operation at a time? Let me
elaborate. I will create a thread which will perform blocking
'hid_get_input_report'(libhid's equivalent read API) operation. In his
scenario, will 'hid_set_output_report' (libhid's equivalent write API)
request from another thread go through?

Thanks for the support.

Regards,
Anmol

  


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.



More information about the libhid-discuss mailing list