Level 1 issue:
I have a Pixl.js that is meant to print on its LCD every character sent by a BLE peripheral behaving as a HID Keyboard (yes, that's a Puck.js running the example seen here ).
Unfortunately I don't know which one of my Puck.js devices is the one acting as a HID Keyboard. I cannot filter by ID. I cannot filter by name because I want also to be able to connect to HID keyboards not built on top of Puck.js devices.
Do you know a smart way of selecting a BLE peripheral based on its HID service?
Level 2 issue:
Once connected to a HID peripheral, how can I tell my Pixl.js to send every received character to the LCD? Is there any BLE Event on top of the HID service?
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.
Level 1 issue:
I have a Pixl.js that is meant to print on its LCD every character sent by a BLE peripheral behaving as a HID Keyboard (yes, that's a Puck.js running the example seen here ).
Unfortunately I don't know which one of my Puck.js devices is the one acting as a HID Keyboard. I cannot filter by ID. I cannot filter by name because I want also to be able to connect to HID keyboards not built on top of Puck.js devices.
Do you know a smart way of selecting a BLE peripheral based on its HID service?
Level 2 issue:
Once connected to a HID peripheral, how can I tell my Pixl.js to send every received character to the LCD? Is there any BLE Event on top of the HID service?
Thank you!