- Bluetooth keyboards require a GATT stack running on a PC and most BIOS don't include that
- USB dongle that looks like a keyboard (and most BIOS do support USB keyboards)
- Pairs and connects automatically to your Bluetooth keyboard
- Forwards "Human Interface Device" (HID) messages in both directions
- Install west and nrfprog if not already done so:
- https://pypi.org/project/west/
- https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools
- Create an empty directory
mkdir hidbridge - Enter the directory
cd hidbridge - Initialise west project
west init -m https://github.com/gadgetproject/hidbridge - Fetch subordinate repos
west update - Build the software
west build -b nrf52840dk_nrf52840 gp/soft - Flash the software
west flash
- Using a second Nordin board (I have PCA10040)
west build -b nrf52840dk_nrf52840 nrf/samples/bluetooth/peripheral_hids_keyboard - Flash the software
west flash - Button 4 starts advertising; LED 1 flashes.
- On hidbridge board,
downstream scananddownstream connect. - Connects, displays passkey and bonds; LED 1 lit.
- Button 1 accepts bond; LED 1 off, LED 2 lit.
- Button 1 sends one keystroke in sequence
hello\\n