Hi,
I am developing a demo where an nRF52840 development board measures Bluetooth RSSI simultaneously from a mobile phone and the board itself to enable computer unlocking based on proximity. Initially, I attempted to automate password entry by reading serial port data and triggering a script, but this failed due to OS security restrictions blocking script-based input.
As an alternative, I decided to implement a USB HID Keyboard to directly send keystrokes(The NCS Sample Peripheral HIDS keyboard doesn't seem to work for me because it uses Bluetooth connection too). However, the "USB HID device is not ready" error persists when using the hid-keyboard example in Zephyr Sample. This aligns with a reported issue in the Nordic DevZone (USB hid-keyboard example ""USB HID device is not ready" - Nordic Q&A - Nordic DevZone - Nordic DevZone)
I suspect that it might be a multiplexing conflict between USB as a serial port and USB keyboard input. Could this be a possible cause ?How can I check it? Are there any other alternative solutions?
Thank you!