<?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>peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107587/peripheral_hids_keyboard-only-works-with-some-hosts</link><description>Hi there, 
 I&amp;#39;m running the peripheral_hids_keyboard sample of the nRF Connect SDK 2.5.1 on my nRF52840-DK. After pushing button 4, advertising starts as expected, but I can only connect with some of my phones/tablets. 
 I can connect with: - OnePlus</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Mar 2024 20:56:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107587/peripheral_hids_keyboard-only-works-with-some-hosts" /><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472831?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 20:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d640302-cb19-40f6-b03a-ed3f5adf48ed</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/mlac"&gt;mlac&lt;/a&gt;&amp;nbsp;many thanks, good luck with your projects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472827?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 20:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7f3b6b-3854-4a97-99e6-cee0291196bc</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;You have to learn Zephyr fundamentals, like Kconfig, which is needed for this. I&amp;#39;ve also worked my way through the Zephyr / nRF SDK / Bluetooth documentation over the course of months. I&amp;#39;m sorry, but I&amp;#39;m too busy nowadays.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472819?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 18:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5802c19c-52c1-480a-a551-a50941b67027</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/mlac"&gt;mlac&lt;/a&gt;&amp;nbsp;sorry for bothering &amp;nbsp;you but I&amp;#39;m really new to this environment...trying to implement Hung answer I look for&amp;nbsp;&lt;span&gt;CONFIG_NFC_OOB_PAIRING in the example but I don&amp;#39;t see where is it defined&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_03_2D00_07-at-15.26.06.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you please help me or else sending me the code you have working properly?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Many thanks in advance&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472806?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 17:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:184675c2-6c8e-4399-9bf2-30692103b162</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;It works on Android. I don&amp;#39;t have an iPhone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472805?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 17:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:670566cb-3820-4c1f-a99b-f206484eba43</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/mlac"&gt;mlac&lt;/a&gt;&amp;nbsp;, will try the suggestion and will report it back. Does it work for you even on Android and iPhone?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472790?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 16:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d484f2dc-16e3-45f0-8d33-08d786bc9c2c</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;You pasted the URL incorrectly and should have left a space between the URL and the closing &amp;quot;)&amp;quot;, resulting in the correct&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104068/hids-keyboard-recognized-but-not-character-sent"&gt;HIDS keyboard recognized but not character sent&lt;/a&gt;&amp;nbsp;address. Now I can see your post after removing the closing &amp;quot;)&amp;quot; character from the end of the URL.&lt;/p&gt;
&lt;p&gt;Now that I read your problem, I&amp;#39;m sorry to say I didn&amp;#39;t encounter it. The keyboard sample worked well for me, even on my Mac. I had a problem with the mouse sample, but after enabling the encryption as suggested, it worked on my Mac, too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472780?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 15:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c32c7f54-82be-4150-a29e-94c5a422d6fc</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;by the way the page I mention does exist&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472771?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 15:10:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ddc6b0-695d-450a-a5ab-488a28bcc66a</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;can you please send&amp;nbsp;me the link of Hung answer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472762?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 14:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58c3a5b-5ebd-4e8a-a5df-045021c4f749</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;isimon: The page you linked no longer exists, and the question I asked has been answered by Hung, so I don&amp;#39;t understand what you mean by &amp;quot;the lack of response&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/472734?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2024 13:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7490af2-78e1-403f-beb4-8a8bb70aad7e</guid><dc:creator>isimon</dc:creator><description>&lt;p&gt;&lt;span&gt;I wonder if&amp;nbsp;any Nordic stuff reads this tickets...is very difficult to understand the lack &amp;nbsp;of response&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471376?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 15:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e05642dc-8b4f-4f4e-9f02-60df80a3e369</guid><dc:creator>isimon</dc:creator><description>&lt;div id=":10u" class="Ar Au Ao"&gt;
&lt;div id=":10q" class="Am aiL Al editable LW-avf tS-tW tS-tY"&gt;
&lt;div class="gmail_default"&gt;&lt;span&gt;Hi Hung/Mlac, I have been following this post because I want to use the HID keyboard routine&amp;nbsp;and I would like to hear from you what to do next...&lt;/span&gt;&lt;/div&gt;
&lt;div class="gmail_default"&gt;&lt;span&gt;(I posted a similar problem here&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104068/hids-keyboard-recognized-but-not-character-sent)"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/104068/hids-keyboard-recognized-but-not-character-sent&lt;/a&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div class="gmail_default"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="gmail_default"&gt;&lt;span&gt;I don&amp;#39;t know what to do next, will there be a new HID keyboard&amp;nbsp;example or what?&lt;/span&gt;&lt;/div&gt;
&lt;div class="gmail_default"&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;Many thanks in advance , Regards&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471325?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 13:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239fc240-cfdf-4297-9fcf-fb39bfff0c94</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mlac,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think the example followed the requirement of the SIG profile. The keyboard profile has encryption requirement (obviously as you don&amp;#39;t want what you type to be transmitted openly) when the mouse profile requirement are more relax as the movement of the mouse, even when tracked doesn&amp;#39;t expose too much risk.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would assume it&amp;#39;s only on MAC that encryption is required.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471300?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 13:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa1a323-8145-40c6-8039-549db0378f84</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Sorry, I was wrong about&amp;nbsp;&lt;span&gt;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT; It&amp;#39;s not enabled by default, indeed. The sample works on my Mac when this option is enabled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Will you add&amp;nbsp;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT=y to the prj.conf of this sample so that others won&amp;#39;t encounter this issue?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471206?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 08:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ff57c9-795c-4a5e-8314-f7404095cfcd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi mlac,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you clarify how you find&amp;nbsp;&lt;span&gt;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT&amp;nbsp;enabled by default ?&amp;nbsp;&lt;br /&gt;Please check the code:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.5.1/samples/bluetooth/peripheral_hids_mouse/prj.conf"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.5.1/samples/bluetooth/peripheral_hids_mouse/prj.conf&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;As you can find in the trace you provided, the link with the Macbook was not encrypted.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471103?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 16:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02467f7c-ac97-4906-bbde-e4345991fddc</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT option is enabled by default in the prj.conf of&amp;nbsp;the peripheral_hids_mouse &lt;span&gt;peripheral_hids_mouse&amp;nbsp;&lt;/span&gt;sample, so I don&amp;#39;t understand what has changed.&lt;/p&gt;
&lt;p&gt;You wrote earlier that you could also reproduce this issue. I assume you haven&amp;#39;t changed the&amp;nbsp;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT=y option either when testing the peripheral_hids_mouse sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/471034?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 13:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8e5ce5-009f-418b-ae4f-b5f33c032afd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi mlac,&amp;nbsp;&lt;br /&gt;Could you try testing the peripheral_hids_mouse again , this time with&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_HIDS_DEFAULT_PERM_RW_ENCRYPT&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It seems to work for me.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/469098?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 15:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c16f8801-e5bd-4b1a-af28-268ee2432fd0</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Thanks for confirming this bug, Hung. I will work on other parts of my project until this gets fixed.&lt;/p&gt;
&lt;p&gt;I keep this conversation unresolved until the issue gets fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/469092?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 15:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7ec9ad-4baa-4514-b78b-687b385effb7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mlac,&amp;nbsp;&lt;br /&gt;I&amp;#39;m not so familiar with MAC device, but I did a test on a Macbook Air here and saw the same issue.&amp;nbsp;&lt;br /&gt;Doesn&amp;#39;t seem pairing is occurring. I will need to check internally here to see why.&amp;nbsp;&lt;br /&gt;My suggestion in the mean time is to take a look at the nRF Desktop and check why it works with nRF Desktop but not the BLE mouse sample.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/469059?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 14:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab32d007-a071-4673-9d11-9d3c33fb91a2</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Thanks for explaining what `nrfjprog --recover` does, Hung. It makes sense.&lt;/p&gt;
&lt;p&gt;The nrf_desktop sample did work. I can connect it to my Mac, and the mouse pointer moves when pressing the buttons.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;peripheral_hids_mouse sample still doesn&amp;#39;t work, even if I run `nrfjprog --recover` before flashing it, and my Mac doesn&amp;#39;t remember any pairing information from before because when it does, it always offers to forget it for the device.&lt;/p&gt;
&lt;p&gt;Would you be able to test &lt;span&gt;peripheral_hids_mouse&lt;/span&gt; on a Mac? I use a MacBook Air M1, 2020 running macOS Ventura 13.6.3, but any new Mac with an M chip should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468984?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 10:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e4b3b8-590b-473f-ae6f-5b3fc2abd3d6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi mlac,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you do &amp;quot;&lt;span&gt;nrfjprog --recover&amp;quot; the whole flash memory of the chip will be erased. If you simply erase and flash the new code without a full erase, the settings partition will retain, meaning all the bond in your test will still be in the flash. It could be the reason why you can&amp;#39;t pair the MAC device because it exceed the maximum of pair information in the setting partition.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;From what I can see in the sniffer trace, the mouse did send the notification to the MAC. So there must be an issue interpreting the data on MAC that doesn&amp;#39;t result in the mouse movement.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One thing I noticed is that there were no pairing/bonding with the mouse. Could you check why ? It could be reason the MAC doesn&amp;#39;t show mouse movement.&amp;nbsp;&lt;br /&gt;&amp;nbsp;I assume&amp;nbsp;the mouse&amp;nbsp;works fine on other machine, correct ?&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Could you try using the nRF Desktop application ? It can also emulate a desktop mouse on a DK.&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468889?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 16:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff5b38c8-0b5f-4ba7-8184-6725fe11fe05</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I remembered that in a similarly strange but different situation when I upgraded my application to MCUboot, and it kept crashing shortly after boot, I used the `nrfjprog --recover` command successfully, and I tried it again for this issue, and it solved the problem for the keyboard sample.&lt;/p&gt;
&lt;p&gt;How did `nrfjprog --recover` fix the issue? I&amp;#39;m starting to get dependent on this command without understanding what&amp;#39;s happening in the background.&lt;/p&gt;
&lt;p&gt;As for the mouse, now it pairs, but when I press the buttons, the mouse pointer doesn&amp;#39;t move on the Mac, so I&amp;#39;m attaching the updated log and capture:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mouse_2D00_mac_2D00_2.pcapng"&gt;devzone.nordicsemi.com/.../mouse_2D00_mac_2D00_2.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/mouse_2D00_mac_2D00_2.txt"&gt;devzone.nordicsemi.com/.../mouse_2D00_mac_2D00_2.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468882?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 15:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb80c3fb-549e-4fee-8e43-a3801444891d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mlac,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regarding the trace between mouse and MAC, it doesn&amp;#39;t seem they do pairing. Could you please test again and make sure the sniffer follows the mouse ?&amp;nbsp;&lt;br /&gt;The log say &amp;quot;Unable to get keys for&amp;quot;, it&amp;nbsp;either returned by&amp;nbsp;bt_keys_get_addr()&amp;nbsp; or&amp;nbsp;bt_keys_get_type(). In both case it&amp;#39;s related to that an old key can not be retracted or it can not create a new slot for the key.&amp;nbsp;&lt;br /&gt;Have you made sure you erased the whole flash before testing ? I am&amp;nbsp;under the impression that it reached the maximum number of device can be paired.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another option is to enable CONFIG_BT_KEYS_OVERWRITE_OLDEST so that it will overwrite the old key.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that doesn&amp;#39;t help, could you add a breakpoint in the code where &amp;quot;Unable to get keys&amp;quot; is printed out in smp.c (there are 10 locations). We need to know which exact function&amp;nbsp;causing the issue.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468846?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 14:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbe0b149-7988-4fa8-bb28-1897a0a567b8</guid><dc:creator>mlac</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t had&amp;nbsp;CONFIG_NFC_OOB_PAIRING enabled, and I&amp;#39;ve enabled&amp;nbsp;CONFIG_BT_SMP_LOG_LEVEL_DBG for the following&amp;nbsp;tests as requested:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keyboard_2D00_mac.pcapng"&gt;devzone.nordicsemi.com/.../keyboard_2D00_mac.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/keyboard_2D00_mac.txt"&gt;devzone.nordicsemi.com/.../keyboard_2D00_mac.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keyboard_2D00_phone.pcapng"&gt;devzone.nordicsemi.com/.../keyboard_2D00_phone.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/keyboard_2D00_phone.txt"&gt;devzone.nordicsemi.com/.../keyboard_2D00_phone.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mouse_2D00_mac.pcapng"&gt;devzone.nordicsemi.com/.../mouse_2D00_mac.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/mouse_2D00_mac.txt"&gt;devzone.nordicsemi.com/.../mouse_2D00_mac.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mouse_2D00_phone.pcapng"&gt;devzone.nordicsemi.com/.../mouse_2D00_phone.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/mouse_2D00_phone.txt"&gt;devzone.nordicsemi.com/.../mouse_2D00_phone.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The phone connection attempts were successful, and the Mac connection attempts were unsuccessful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468793?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 11:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b3e1315-d7d2-46ec-9801-d0f850c4b869</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;br /&gt;Please also add&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;code&gt;CONFIG_BT_SMP_LOG_LEVEL_DBG=y &lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir="ltr"&gt;to the code and send us the log if it actually show any extra information on why it reject the pairing request.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral_hids_keyboard only works with some hosts</title><link>https://devzone.nordicsemi.com/thread/468778?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 10:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06bef877-c496-4e5a-af58-a6e9973270cc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mlac,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the trace. I can see that the nRF52840 rejected the pairing with &amp;quot;Unspecific reason&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707905955590v1.png" alt=" " /&gt;&lt;br /&gt;I&amp;#39;m checking internally to see why this happens.&amp;nbsp;&lt;br /&gt;I assume you were testing with unmodified&amp;nbsp;peripheral_hids_keyboard sample ? ( with&amp;nbsp;&lt;span&gt;CONFIG_NFC_OOB_PAIRING&lt;/span&gt;&lt;span&gt;=n ?)&lt;br /&gt;Could you send us the trace when it can connect and pair with other device not the MAC so we can compare ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you try testing with the peripheral_hids_mouse and check if you have the same problem (and give us the trace)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>