This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible to implement HID keyboard as host to connect a ble keyboard?

Hello,

As subject described on linux platform. Whether there is such sample code to be used?

Could you help share some links and infomations?

Thanks.

Parents Reply Children
  • Hi,

    I plan to use nRF52810 that developping with low cost.

    My use scenario looks like as below:

    1. nRF52810 plays as HID central role to be able to connect/communicate with any BLE keyboard which could be found in market.

    2. nRF52810 should deliver the control interface/high-level interface(like scan ble devices, initiate a connection, recieve a key code event) out to another CPU(Linux based) connected with nRF52810 via UART port.

    There is not over USB.

    So I am not sure if you already understand what I want to implement. Then I need evaluation information on such feature.

    Thanks.

  • Hi

    As you may or may not know we are slowly migrating our firmware development efforts to the nRF Connect SDK and Zephyr, and in Zephyr there is a project that does something very similar. 

    Essentially there are various examples supporting the HCI protocol, allowing you to run the Bluetooth controller in an nRF52 device, and the Bluetooth host on the Linux side. Then you can use either USB or UART to communicate between them. 

    If you want to check out this example it can be found here:
    https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/bluetooth/hci_uart

    Best regards
    Torbjørn

Related