<?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>nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77998/nrf52840-ble-hid-keyboard-can-not-reconnect-after-reboot-power-cycle</link><description>Hi Nordic team, 
 We have tried using Bluetooth peripheral HID keyboard example from nRF5 SDK and found an interesting problem. 
 In our setup, nRF52840DK is running the provided HID keyboard example from nrf samples folder (`peripheral_hids_keyboard</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Aug 2021 11:18:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77998/nrf52840-ble-hid-keyboard-can-not-reconnect-after-reboot-power-cycle" /><item><title>RE: nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/thread/323510?ContentTypeID=1</link><pubDate>Thu, 05 Aug 2021 11:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:270b4a2d-5e65-4467-80f6-7e962cb7be59</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you also test 1.6.1 or master branch for comparison?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/thread/323155?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 15:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382d7043-6f2c-49ab-a2c2-1ff64aa60aa6</guid><dc:creator>Sasa Karanovic</dc:creator><description>&lt;p&gt;Thanks for sharing that case. I actually found it trough Google search when troubleshooting a different issue (not being able to send keystrokes to iOS device at all). I have tried the proposed solution for EACCESS error but it didn&amp;#39;t solve the issue.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using NCS v1.6.0.&lt;/p&gt;
&lt;p&gt;Interesting thing is that this check fails only for iOS devices. Android devices work like a charm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/thread/322948?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 16:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f6d83e4-24c9-420a-97da-bf4f13bf1bc6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I was thinking it could be a race condition, where you called&amp;nbsp;&lt;span&gt;bt_hids_in_rep_send() prior to the encryption taking place on the link (since that can take some time, e.g. ~100ms after link is established). If that is not the case then&amp;nbsp;&lt;/span&gt;I can find an open case with similar symptoms here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71151/the-bluetooth-keyboard-sample-does-not-work-in-an-ios-14-3-environment"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/71151/the-bluetooth-keyboard-sample-does-not-work-in-an-ios-14-3-environment&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe your case is the same? Which NCS version are you using?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/thread/322494?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 13:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bf173c9-b7f4-4f5c-817c-7279f0cecca8</guid><dc:creator>Sasa Karanovic</dc:creator><description>&lt;p&gt;That doesn&amp;#39;t really answer the question.&lt;/p&gt;
&lt;p&gt;What is the proper way of fixing this issue?&lt;/p&gt;
&lt;p&gt;Both devices are paired and bonded. Until you reset nRF52, everything works great. However once you reset the DK, phone connects to the device, bonding information is loaded but nRF can&amp;#39;t send reports since bt_hids_in_rep_send() returns error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE HID Keyboard can not reconnect after reboot/power-cycle</title><link>https://devzone.nordicsemi.com/thread/322474?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 13:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e7e324-d16f-46c7-afd9-1e2994ae39c3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Ideally you should not call&amp;nbsp;bt_hids_inp_rep_send() until the link is encrypted, because it&amp;#39;s only after the link is encrypted that the notification can be sent (in which case the&amp;nbsp;bt_gatt_is_subscribed() should not fail either).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>