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

HID keyboard sample is not discovered by Windows10

I run blue_app_hids_keyboard_pca10056_s140 sample on nRF52840-DK. I try to connect with Windows 10 PC, but PC does not discover Nordic_Keyboard.

I found advertising is sent every 25ms. PC send SCAN_REQ, but SCAN_RSP is not always sent back by nRF. SCAN_RSP reply rate is 3/10 (3 times per 10).

With SANWA BT4.0 mouse, it reply SCAN_RSP 10/10 rate. PC always found BT4.0 mouse.

I also tested with SEGGER Embedded Studio debug mode, SCAN_RSP reply rate is 0/10.

Do you know how to fix HID discover issue?

Do you know how to improve SCAN_RSP reply rate on HID sample?

SDK is 15.3

Parents
  • Before HID_keyboard, I run BLE_APP_HRS on same DK board.

    I guess Windows 10 keeps cache of old GATT service info. Once I switch same device to HID, windows10 still use old cached GATT service and does not recognize as HID. I try to find a way to clear cache on Win10, like service-changed.

  • Hi,

    Yes, using service changed should solve much of the problem. However this is probably only a problem during development (unless you will change the GATT services, name etc. in the actual product as well). In a development scenario, toggling Bluetooth or rebooting the PC should be an acceptable workaround since you probably don't do this often. Another workaround is to change the BLE address since this will make the peer (Windows PC) see it as a new device.

Reply
  • Hi,

    Yes, using service changed should solve much of the problem. However this is probably only a problem during development (unless you will change the GATT services, name etc. in the actual product as well). In a development scenario, toggling Bluetooth or rebooting the PC should be an acceptable workaround since you probably don't do this often. Another workaround is to change the BLE address since this will make the peer (Windows PC) see it as a new device.

Children
No Data
Related