<?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>BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63718/ble-hid-device-fails-to-pair-with-windows</link><description>Hello, 
 I&amp;#39;m working on a HID BLE device and it seems to work good with iOS devices. It fails to pair with Window. I&amp;#39;m adding what I can see with the sniffer. Basically after the `CONNECT_REQ` the communication seems to only transfer `Empty PDU messages</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jul 2020 08:55:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63718/ble-hid-device-fails-to-pair-with-windows" /><item><title>RE: BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/thread/260301?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2020 08:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd13a909-2d45-4e60-be26-70ba916e0698</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I suggest you check by using the advertisement from the ble_app_hids_keyboard example, and see if the windows PC connects properly to that. If yes, then there is something missing that the windows is looking for. If not, then there may be something weird with the computer itself. Start taking away things from the advertisement packet until you are left with what you are currently using. What do you remove that makes the computer not do the service discovery?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="MrOneTwo"]I&amp;#39;ve noticed that the BLE device doesn&amp;#39;t receive the &lt;code&gt;DM_CONN_UPDATE_IND&lt;/code&gt;.[/quote]
&lt;p&gt;Is that the Device Manager event? Or where does this event occur?&lt;/p&gt;
&lt;p&gt;Did you try to completely erase the board (nrfjprog --eraseall) before programming it again and connecting to the windows PC? Don&amp;#39;t connect to the mac in between. Perhaps it is a device manager bonding related issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/thread/260244?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 20:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c020399-8d15-4f4e-b651-20f883096ce8</guid><dc:creator>Michalc</dc:creator><description>&lt;p&gt;I&amp;#39;ve modified the advertising data. It doesn&amp;#39;t send the Manufacturer specific data and it uses the Appearance AD packet set to Generic HID device. I&amp;#39;ve looked up this structure from a Logitech BLE HID device.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve noticed that the BLE device doesn&amp;#39;t receive the &lt;code&gt;DM_CONN_UPDATE_IND&lt;/code&gt;. It says that the pairing completed successfully but that&amp;#39;s it. When connecting to iOS it gets &lt;code&gt;DM_CONN_UPDATE_IND&lt;/code&gt; and things continue properly. Windows doesn&amp;#39;t use the RPA address while iOS does. That&amp;#39;s the only difference that comes to mind right now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/thread/260177?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 14:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718f412f-755f-4ce8-827f-ad8b2365fc0f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Any idea why it says Data: missing?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-23e5593f6d3f477397fc5f772298af1c/pastedimage1594821457121v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks like the windows computer doesn&amp;#39;t understand that this is in fact a keyboard, and that it doesn&amp;#39;t do the service discovery. Perhaps you can test the ble_app_hids_keyboard example, and look at how it sets up the advertising data? I suggest you try including the uuid in the advertisement, so that the computer understands what sort of device it is.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/thread/259994?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 19:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c1ca43-8956-4033-ba72-5902b83b9971</guid><dc:creator>Michalc</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No, I didn&amp;#39;t test ble_app_hids_keyboard. Unfortunately I can&amp;#39;t do that at the moment since I don&amp;#39;t have access to the hardware. I can add the pcap files:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ios_5F00_pairing_5F00_success_5F00_filtered.pcapng"&gt;devzone.nordicsemi.com/.../ios_5F00_pairing_5F00_success_5F00_filtered.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/windows_5F00_pairing_5F00_failure_5F00_filtered.pcapng"&gt;devzone.nordicsemi.com/.../windows_5F00_pairing_5F00_failure_5F00_filtered.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll check those suggestions as soon as I can.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE HID device fails to pair with Windows</title><link>https://devzone.nordicsemi.com/thread/259943?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 14:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8118f337-fe6b-40c9-84e6-0869d04c11da</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you tested the unmodified ble_app_hids_keyboard example from SDK17.0.0? Does it behave the same?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks like the Windows PC doesn&amp;#39;t start the discovery of the services. Is this sniffer trace from the nRF Sniffer? If so, is it possible to save the files as .pcapng (standard file format for nRF Sniffer) and upload them here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But please check if this also happens in the unmodified example from SDK17.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One other thing: Can you try to erase the DK completely before re-programming the softdevice and application? Does it still happen? If not, it may be a bonding issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>