At least now I understand why hidkbd.app.js sends 9 bytes instead of 8: Since there are now two collections instead of only one as in ble_hidÂ_keyboard.js the report id (2 for keyboard) needs to be prefixed. Unfortunately Linux still seem to think it is 0:
drivers/hid/hid-core.c: undefined report_id 0 received
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
At least now I understand why hidkbd.app.js sends 9 bytes instead of 8: Since there are now two collections instead of only one as in ble_hidÂ_keyboard.js the report id (2 for keyboard) needs to be prefixed. Unfortunately Linux still seem to think it is 0:
What Linux receives is:
..10 bytes