HID: Error: Error: ERR 0x8 (INVALID_STATE) (:3068) #4963
Replies: 1 comment
-
Posted at 2022-07-05 by @gfwilliams Usually INVALID_STATE when trying to send via HID just means that the Bangle.js is connected via Bluetooth and HID is enabled, but the connecting device isn't actually using HID. So for example you might be connected with the Web IDE, but not paired from the OS. Posted at 2022-07-05 by Hank Yes, right, I assumed that. Probably there is no error when connected to Android; but it's not sending keys though. Posted at 2022-07-05 by @gfwilliams
I'm not sure I understand the question, but that did get me thinking - hidcam seems to do Posted at 2022-07-05 by Hank Where is that emoji banging the head on the table? Edit: espruino/BangleApps#2020 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-07-05 by Hank
So, I am trying to adjust
https://banglejs.com/apps/?id=hidcam
for Bangle.js 2
Now, I come to the error
with this piece of code:
Any idea?
Got the same with the original https://banglejs.com/apps/?id=hidmsicswipe. So I think I just have a misconfigured bluetooth on my Android. The Watch is showing HID=Kbrd+Media in settings, but Android Bluetooth settings only show "Input device". Is that normal?
Beta Was this translation helpful? Give feedback.
All reactions