TRAHOMOTO / javahidapi

Automatically exported from code.google.com/p/javahidapi
Other
0 stars 0 forks source link

Unexpected feature report #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm running the following code on an Emotive EEG on OS X Mountain Lion

            byte[] report = new byte[9];
            int wrote = dev.getFeatureReport(report);
            System.out.println(wrote + " --> " + Arrays.toString(report));

I expect to see

            // 0x00, 0xa0, 0xff, 0x1f, 0xff, 0x00, 0x00, 0x00, 0x00

but I'm actually getting either all zeros or

    32, -1, 31, -1, 30, 0, 0, 0

and everytime that 8 entries have been written (not the expected 9).

The device seems to work fine when run using the emokit C binary, which is 
using HIDAPI directly.

Original issue reported on code.google.com by Sam.Hall...@gmail.com on 28 Dec 2012 at 12:52

GoogleCodeExporter commented 9 years ago
this has been resolved by #40, please CLOSE.

(I used to love google code, but ever since using github I find everything 
about Google Code to be clunky).

Original comment by Sam.Hall...@gmail.com on 28 Dec 2012 at 2:28