<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48733/hid-keyboard-sample-is-not-discovered-by-windows10</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2019 06:15:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48733/hid-keyboard-sample-is-not-discovered-by-windows10" /><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/195257?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 06:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6077612-0fa1-4094-b268-b82264b9eb72</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;is the expected behavior. In this case, you describe that you delete the bonding information on Windows (step 4), but not on the nRF. The default behavior of the nRF is not allow re-pairing, and so you have to remove the bonding information. You can also change the example to allow repairing as &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37837/sdk15-paring-problem/145821#145821"&gt;described in this post&lt;/a&gt;. However, this has a slight impact on security, as an imposter can spoof your computers MAC address and pair silently. Therefore your &amp;quot;workaround&amp;quot; by deleting the bonding information on the nRF is the most secure approach.&lt;/p&gt;
&lt;p&gt;Regarding whitelisting, it is common to use a button or similar to make the peripheral (mouse) advertise without whitelisting in cases where you want to pair with a new device. You can see in main.c of&amp;nbsp;ble_app_hids_keyboard that it handles the&amp;nbsp;BSP_EVENT_WHITELIST_OFF event, and starts to advertise without whitelisting. This event is triggered by pressing button 2 (marking on the PCB, the number in the code is 1).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/195226?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 20:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:007c404a-48de-456b-9233-9f7da200649e</guid><dc:creator>toruish</dc:creator><description>&lt;p&gt;It reproduce on these steps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Write ble_app_hids_keyboard sample hex file to nRF52 DK&lt;/p&gt;
&lt;p&gt;2) On Windows10 settings, add Nordic_Keyboard as bluetooth device&lt;/p&gt;
&lt;p&gt;3) On pairing, IRK, LTK is saved on nRF52 storage&lt;/p&gt;
&lt;p&gt;4) On Windows10 settings, remove&amp;nbsp;&lt;span&gt;Nordic_Keyboard&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5) On Windows 10 try to add&amp;nbsp;Nordic_Keyboard&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;6) nRF52 DK advertise with whitelist, Windows10 cannot discover&amp;nbsp;Nordic_Keyboard&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For workaround, I remove Win10 BLE chip info on nRF52 whitelist.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194998?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 06:20:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b948f9-dc6f-4460-9750-3bac03b0c0e9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194953?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 18:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ad64d72-dbe0-4719-813b-dc2c366b945b</guid><dc:creator>toruish</dc:creator><description>&lt;p&gt;Before HID_keyboard, I run BLE_APP_HRS on same DK board.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194494?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 06:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:565073fd-9807-4080-bbe3-9f99edc9d249</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s odd. But as mentioned the name is already there in the advertising packet, so there is no good reason for putting it in the scan response packet instead (unless you need to put some other data in the advertising packet, and have to move something to the scan response for that reason).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have you checked that the nRF is actually advertising and that there is no error check being hit?&lt;/li&gt;
&lt;li&gt;Do you have a sniffer trace?&lt;/li&gt;
&lt;li&gt;And does an unmodified example work, if you just go for a precompiled .hex file from &amp;lt;SDK&amp;gt;\examples\ble_peripheral\ble_app_hids_keyboard\hex\ ?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194472?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2019 22:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df37f81-0ffd-4567-9264-ad2085b2bb0e</guid><dc:creator>toruish</dc:creator><description>&lt;p&gt;I try to add device name on init.srdata, but Windows 10 settings does not discover.&lt;/p&gt;
&lt;p&gt;If I run BLE central scan sample on Windows 10, it discovered Nordic_Keyboard.&lt;/p&gt;
&lt;p&gt;Windows 10 Settings does not discover nRF52 HID sample.&lt;/p&gt;
&lt;p&gt;I tested 3 different Windows 10 PC and BLE chip combination, all failed.&lt;/p&gt;
&lt;p&gt;Windows 10, Intel AC-7260 : Not discover&lt;/p&gt;
&lt;p&gt;Windows 10, Intel AC-9560 : Not discover&lt;/p&gt;
&lt;p&gt;Windows 10,&amp;nbsp;&lt;span&gt;DW1560 : Not discover.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194241?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2019 08:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97216f30-958f-4e1b-9b2b-7316e5e8c6e7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The HID keyboard example in the SDK does not use any scan response data, as there is no need (the appearance, full name, and HID UUID are in the advertising packet). Therefore, the scan response packet is empty. However, you can modify the advertisign_init() function in &amp;lt;SDK&amp;gt;\examples\ble_peripheral\ble_app_hids_keyboard\main.c to include it by populating&amp;nbsp;init.srdata if you need it for some reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/194163?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 21:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7e4b2d-671d-4216-b819-0e2ec8c938ff</guid><dc:creator>toruish</dc:creator><description>&lt;p&gt;I still failed with PC10056 HID keyboard sample. I use&amp;nbsp;Windows10 ver1903, BLE chip is DW1560 bluetooth4.0 LE.&lt;/p&gt;
&lt;p&gt;I attach cfa capture file.&lt;/p&gt;
&lt;p&gt;I compared with ESP32 HID sample, which is discovered by Windows 10. It returns full info with SCAN_RSP,&lt;/p&gt;
&lt;p&gt;even nRF only return empty SCAN_RSP.&lt;/p&gt;
&lt;p&gt;Do you have option for SCAN_RSP includes appearance, UUID and local_name?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_5F00_hid_5F00_mydell_5F00_f2.cfa"&gt;devzone.nordicsemi.com/.../nrf_5F00_hid_5F00_mydell_5F00_f2.cfa&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HID keyboard sample is not discovered by Windows10</title><link>https://devzone.nordicsemi.com/thread/193662?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 12:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eedd6e5-e0b4-4a7d-ab45-4535eb815d4a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]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.[/quote]
&lt;p&gt;The&amp;nbsp;ble_app_hids_keyboard example works with Windows 10, so it is probably something with your setup. Can you confirm that the computer you are testing with support BLE (Bluetooth version &amp;gt;= 4.0.0)? (I don&amp;#39;t know if the other mouse you have tested with use BLE or Bluetooth classic). Which Bluetooth chipset is in your PC?&lt;/p&gt;
[quote user=""]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).[/quote]
&lt;p&gt;&amp;nbsp;How have you seen this? A sniffer trace? If so, can you upload it to this case?&lt;/p&gt;
[quote user=""]Do you know how to improve&amp;nbsp;SCAN_RSP reply rate on HID sample?[/quote]
&lt;p&gt;The nRF should always reply to SCAN_REQ as long as it is received in time. It could be that some packets are lost if there is alot of noise or long distance between the mouse and PC, but that does not seem likely(?).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>