Hello,
I am using the following HID descriptor for my BLE HID device. I also tried using the vendor defined page as mentioned in your book - USB Complete
0x05, 0x03, // USAGE_PAGE(VR Controls)
0x09, 0x04, // USAGE (Glove)
0xA1, 0x01, // COLLECTION (Application)
0x85, 0x01, // REPORT_ID(1)
0x09, 0x04, // USAGE (Glove)
0x15, 0x00, // LOGICAL_MINIMUM(0)
0x26, 0xFF, 0x00, // LOGICAL_MAXIMUM(255)
0x75, 0x08, // REPORT_SIZE(8)
0x95, 0x01, // REPORT_COUNT(1)
0x81, 0x02, // INPUT(Data,Var,Abs)
0x09, 0x04, // USAGE (Glove)
0x15, 0x00, // LOGICAL_MINIMUM(0)
0x26, 0xFF, 0x00, // LOGICAL_MAXIMUM(255)
0x75, 0x08, // REPORT_SIZE(8)
0x95, 0x01, // REPORT_COUNT(1)
0x91, 0x02, // OUTPUT(Data,Var,Abs)
0xC0 // END COLLECTION
I am using SimpleHIDWrite utility to send/receive data. Please check attachments which include the results for GetReport, SetReport & Write. So why isnt the SetReport getting the correct handle? I am not able to locate where the problem is exactly.