I have the same problem (Uncaught Error: BLE HID not enabled) happening with both the keyboard and media key examples... could perhaps be some regression in recent firmware releases? I'll try now to give informations as detailed as i can.
I tried to disconnect and reconnect as you suggest, but the error is still the same.
I also tried to save the example on the puck flash and then reboot and reconnect, but to no avail.
I tried on both firmware 1v94 and 1v95, as client os I tried withLlinux and Android but neither works.
One thing that may or may not tell something, is that the puck seems to never advertise as a keyboard device, at least on both operating systems it always shows a generic bluetooth icon instead of a keyboard of some sort (while on a youtube tutorial was clearly listed as a keyboard on android https://www.youtube.com/watch?v=3iZ9j_ga6zs&t=126s
).
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.
I have the same problem (Uncaught Error: BLE HID not enabled) happening with both the keyboard and media key examples... could perhaps be some regression in recent firmware releases? I'll try now to give informations as detailed as i can.
I tried to disconnect and reconnect as you suggest, but the error is still the same.
I also tried to save the example on the puck flash and then reboot and reconnect, but to no avail.
I tried on both firmware 1v94 and 1v95, as client os I tried withLlinux and Android but neither works.
One thing that may or may not tell something, is that the puck seems to never advertise as a keyboard device, at least on both operating systems it always shows a generic bluetooth icon instead of a keyboard of some sort (while on a youtube tutorial was clearly listed as a keyboard on android https://www.youtube.com/watch?v=3iZ9j_ga6zs&t=126s
).