I'm having trouble with this. I want to change the following report.
Currently the 17 and 18 allowing 128 bytes. Or at least this is what it show allow. 18 has 131 because its 128+report id + address. I'm not %100 sure why the 17 shows 127. 129 would make more sense to me. (this was a borrowed example).
0xa1, 0x01, // COLLECTION (Application)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255)
0x75, 0x08, // REPORT_SIZE (
0x85, 0x11, // REPORT_ID (17)
0x95, 0x7f, // REPORT_COUNT (127) ***
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x12, // REPORT_ID (18)
0x95, 0x83, // REPORT_COUNT (131) ***
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0xc0, // END_COLLECTION
My goal is to allow both reports to allow 512
but everything I try fails enumeration. I'm thinking the header bytes need to change for larger amounts (i.e 0x26 to 0x27) . I'm also not sure if I need to change my logical max. I bolded the areas I think have to change.
0xa1, 0x01, // COLLECTION (Application)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255) <---1024?
0x75, 0x08, // REPORT_SIZE (
0x85, 0x11, // REPORT_ID (17)
0x95, 0x7f,
#x##, // REPORT_COUNT (127) <---513 ?
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x12, // REPORT_ID (18)
0x95, 0x83
#x##, // REPORT_COUNT (131) <---515 ?
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0xc0, // END_COLLECTION