[libhid-discuss] Libhid cross platform compilation

Charles Lepple clepple at ghz.cc
Fri Jun 15 22:44:32 UTC 2007


On Jun 14, 2007, at 12:05 PM, KELEEN wrote:

> BTW, I don't know the way to invoke hid_interrupt_read correctly.  
> Will the function call
> block when no more information from HID device? Right now, my HID  
> device is a caller id
> box, I will need to retrieve information from the box when there is  
> a new phone call.

It will block unless you specify a non-zero timeout. If no data is  
received in that timeout window, the function will return without  
filling the buffer.

-- 
Charles Lepple





More information about the libhid-discuss mailing list