Repeated/no keystrokes definitely sounds like HID packets not being sent (a keystroke involved one packet for a press, and one for a release - so if the release gets missed that'd cause the problem).
It's interesting that both of you having problems are running Linux though.
It'd be good to know whether on Bangle.js, it's actually the NRF.sendHIDReport command that fails with an exception, or whether the data is accepted by the Bluetooth stack and then silently lost.
Are you using an existing app, or your own? If it's your own, you could put a try {...} catch around the call and display something on the screen if it fails. It might help to track it down
@Franzo- if there is something we can figure out that's actually broken in the Bangle.js firmware then yes, it could be fixed. However if this was an issue on non-Linux devices I'd have thought I'd have had more complaints by now - so that makes me wonder whether it's actually some issue in Linux's handling of BLE HID devices
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.
Repeated/no keystrokes definitely sounds like HID packets not being sent (a keystroke involved one packet for a press, and one for a release - so if the release gets missed that'd cause the problem).
It's interesting that both of you having problems are running Linux though.
It'd be good to know whether on Bangle.js, it's actually the
NRF.sendHIDReport
command that fails with an exception, or whether the data is accepted by the Bluetooth stack and then silently lost.Are you using an existing app, or your own? If it's your own, you could put a
try {...} catch
around the call and display something on the screen if it fails. It might help to track it down@Franzo- if there is something we can figure out that's actually broken in the Bangle.js firmware then yes, it could be fixed. However if this was an issue on non-Linux devices I'd have thought I'd have had more complaints by now - so that makes me wonder whether it's actually some issue in Linux's handling of BLE HID devices