hanshuebner/node-hid — Issue #2: Increase or make dynamic the HID read buffer?
Author: tobyjoe
Created: 2012-01-26 16:41:35+00:00
State: open

Hi. In interfacing with some HID devices, I needed to read a 1024 buffer length.

I've patched node-hid for my purposes, and before sending a pull request for something... patchy... it would be preferable to discuss whether the buf[256] is a hard limit for any design reasons, or if it's just making use of a convention.

We could either chain buffers, use them as passthru buffers, increase the size statically (as I did locally), or make the buffer size a configuration option.

Any preferences?

Thanks.