bluetooth_applications
bluetooth_applications copied to clipboard
bluetooth_applications/bluetooth_hid_keyboard/ HID report descriptor is erroneous in documentation
Hello,
In readme.md of the bluetooth_applications/bluetooth_hid_keyboard/ project, there is a mistake in the HID descriptor.
It ends with:
0x05, 0x01 | Usage Minimum (Reserved (no event indicated)) 0x05, 0x01 | Usage Maximum (Keyboard Application) 0x05, 0x01 | Input (Data,Array) Key arrays (6 bytes) 0xc0 | End Collection
It should instead look something like (needs verification, but it kind of works):
0x19, 0x00, // USAGE_MINIMUM (Reserved (no event indicated))
0x29, 0x65, // USAGE_MAXIMUM (Keyboard Application)
0x81, 0x00, // INPUT (Data,Ary,Abs)
0xc0 // END_COLLECTION
Not sure where the actual code is and if it has the same problems or not, but it might help others trying to code their own keyboard to fix it.
Best, Nicolas