<?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 example does not connect to iOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104976/peripheral-hids-example-does-not-connect-to-ios</link><description>Version of all my things is attached. 
 In short, using ncs 2.4.2, peripheral_hids_mouse example, trying to connect to an iPad on iOS version 15.3.1. It works on my PC. 
 Upon trying to connect to the example, the example disconnects for &amp;quot;reason 42&amp;quot;,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Nov 2023 11:59:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104976/peripheral-hids-example-does-not-connect-to-ios" /><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/457147?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 11:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edc044b5-1af1-4b5e-8e75-5ca931c21da1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;br /&gt;Yes Ipad should have it supported. I will need to find an iPad to test.&amp;nbsp;&lt;br /&gt;My suggestion is to try turning the iPad off an on, erase any bond information and test again.&amp;nbsp;&lt;br /&gt;You can also capture a sniffer trace (you may need to use either debug key or feed the LTK to the sniffer as instructed in the Bluetooth Academy course) so that we can inspect if the mouse actually sending anything when you press the button.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/457037?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 22:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef4ea2bb-1aaa-4108-bae3-509e4c11ef58</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s curious that the log wouldn&amp;#39;t show settings loading. It is called for all the stock hids examples.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;IS_ENABLED&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;CONFIG_SETTINGS&lt;/span&gt;&lt;span&gt;)) {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;settings_load&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;CONFIG_SETTINGS is set to 1.&lt;/p&gt;
&lt;p&gt;Is there a logging setting I should be using to see when that function is called?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am able to connect to the iPad with the keyboard hid sample, and type some characters. But a mouse should work too.&lt;/p&gt;
&lt;p&gt;Clearly iPads do support bluetooth mice:&amp;nbsp;&lt;a id="" href="https://support.apple.com/en-ca/HT211008"&gt;https://support.apple.com/en-ca/HT211008&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/456832?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 08:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33945ca0-39ba-4446-96f8-4bd1aa36094b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi mrd,&amp;nbsp;&lt;br /&gt;It&amp;#39;s quite strange that --recover helped fix the issue.&amp;nbsp;&lt;br /&gt;There could be a chance that the nRF52 was bonded with your iOS devices and was trying to re-use bond information that got deleted on the iOS devices to encrypt the link but failed.&amp;nbsp;&lt;br /&gt;Doing a --recover will erase bond information. But from the log you showed, you didn&amp;#39;t call settings_load so bond information shouldn&amp;#39;t be stored/restored.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please also try to test with keyboard sample. As I mentioned earlier , on iPhone external mouse is not supported&amp;nbsp;AFAIK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/456786?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 20:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42fc9ee6-75bd-47d9-9adf-084fb4ed46b7</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Some progress. I get much further ahead after using &amp;quot;nrfjprog --recover&amp;quot;.&lt;/p&gt;
&lt;p&gt;After doing this, I can connect to android and move the cursor (perfect!). On iOS, I can connect and see HID data sent on wireshark, but there is no cursor&amp;nbsp;that is displayed. Strange!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/455840?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 19:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a839fc5-223c-4505-a127-953ea15add7a</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;It&amp;#39;s unlikely that it would be environmental - the same environment where peripheral_uart connects perfectly is the one where hids_mouse doesn&amp;#39;t work at all.&lt;/p&gt;
&lt;p&gt;I guess I&amp;#39;ll try debugging more on my own and I&amp;#39;ll respond if I get it. Let me know if you have any other insights!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/455298?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 13:09:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1839fe3-3d77-4433-847c-cb7e9e858297</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I did a test with your hex file on an iPhone and I didn&amp;#39;t see any retransmission.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&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/pastedimage1699878682726v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In your trace with an Android phone, at the beginning I can see some transmission but then after that no retransmission:&amp;nbsp;&lt;br /&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/pastedimage1699878755800v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not so sure why this happen, there could be a chance that there was some interference in the environment causing the problem. Could you try to test at a different location ?&amp;nbsp;&lt;br /&gt;It&amp;#39;s still strange that you don&amp;#39;t have that problem when you test with other sample not HIDs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the disconnection, what I can see is that the master terminated the connection:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&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/pastedimage1699880212267v4.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;It was most likely because the slave rejected the pairing request:&lt;br /&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/pastedimage1699880452781v5.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not so sure why you have this error, I couldn&amp;#39;t reproduce the problem on my Android phone here.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/455170?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 19:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79c25e13-9ffe-4b85-a2f4-fcd8739626c5</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I actually did not know that iPhone did not have mouse support, but the only test I have done on iPhone is the one you requested above with the trace. Everything else is iPad.&lt;/p&gt;
&lt;p&gt;Wow, the peripheral_hids_keyboard connects! But it is not possible to use DK buttons to type &amp;quot;hello&amp;quot;.&lt;/p&gt;
&lt;p&gt;Here is the hex file of the mouse sample.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mrd_5F00_peripheral_5F00_hids_5F00_mouse_5F00_build.hex"&gt;devzone.nordicsemi.com/.../mrd_5F00_peripheral_5F00_hids_5F00_mouse_5F00_build.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I notice that the same hids mouse example also does not connect to android either - it shows reason 19 for disconnecting, and this in wireshark.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/android_5F00_peripheral_5F00_mouse_5F00_fail.pcapng"&gt;devzone.nordicsemi.com/.../android_5F00_peripheral_5F00_mouse_5F00_fail.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And here is the terminal output.&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v3.3.99-ncs1-1 ***&lt;br /&gt;Starting Bluetooth Peripheral HIDS mouse example&lt;br /&gt;I: 8 Sectors of 4096 bytes&lt;br /&gt;I: alloc wra: 0, db0&lt;br /&gt;I: data wra: 0, 480&lt;br /&gt;I: SoftDevice Controller build revision: &lt;br /&gt;I: e0 7e 2e c1 5e 05 85 23 |.~..^..#&lt;br /&gt;I: 46 15 dc fa 8e 29 7d 70 |F....)}p&lt;br /&gt;I: 10 93 a5 fc |.... &lt;br /&gt;I: HW Platform: Nordic Semiconductor (0x0002)&lt;br /&gt;I: HW Variant: nRF52x (0x0002)&lt;br /&gt;I: Firmware: Standard Bluetooth controller (0x00) Version 224.11902 Build 2231721665&lt;br /&gt;I: No ID address. App must call settings_load()&lt;br /&gt;Bluetooth initialized&lt;br /&gt;I: Identity: F7:CC:36:D1:32:8A (random)&lt;br /&gt;I: HCI: version 5.4 (0x0d) revision 0x1077, manufacturer 0x0059&lt;br /&gt;I: LMP: version 5.4 (0x0d) subver 0x1077&lt;br /&gt;Direct advertising to 10:30:25:A5:68:39 (public) started&lt;br /&gt;Direct advertising to 10:30:25:A5:68:39 (public) timed out&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) started&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) timed out&lt;br /&gt;Regular advertising started&lt;br /&gt;Connected 6A:0D:0B:AF:01:76 (random)&lt;br /&gt;Direct advertising to 10:30:25:A5:68:39 (public) started&lt;br /&gt;Direct advertising to 10:30:25:A5:68:39 (public) timed out&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) started&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) timed out&lt;br /&gt;Regular advertising started&lt;br /&gt;Disconnected from 6A:0D:0B:AF:01:76 (random) (reason 19)&lt;br /&gt;Directed advertising failed to start&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/455075?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 09:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11887c11-2f9f-4336-b33c-8419aacdc7cb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I don&amp;#39;t see any retransmission in the new trace you sent.&amp;nbsp;&lt;br /&gt;This&amp;nbsp;suggest that the hardware and the&amp;nbsp;compatibility between the DK and&amp;nbsp; the phone is OK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you send us your hex file (of the hid keyboard sample) so that we can flash on a DK here and test with an Iphone we have ?&amp;nbsp;&lt;br /&gt;I assume you have the same problem with the peripheral_hids_keyboard ?.&lt;/p&gt;
&lt;p&gt;(The reason I ask for the keyboard because&amp;nbsp;last time I checked&amp;nbsp;iPhone didn&amp;#39;t support external mouse, only keyboard ? iPad support both)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/455029?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 22:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877ef0af-161c-43be-81fa-16425dc8adaa</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;I am already using two DKs for running code and sniffing. All wireshark traces are from DKs.&lt;/p&gt;
&lt;p&gt;I am able to connect to peripheral_uart example, but only through the nrf connect app, not through the normal bluetooth connection menu on the iPad.&lt;/p&gt;
&lt;p&gt;Here is a trace connecting to the peripheral uart sample.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iOS_5F00_peripheral_5F00_uart_5F00_working.pcapng"&gt;devzone.nordicsemi.com/.../iOS_5F00_peripheral_5F00_uart_5F00_working.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to reflect on what differences between our setups are possible. Could I be setting up the build wrong? Here is my build configuration&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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/build_5F00_cfg_5F00_peripheral_5F00_hids_5F00_mouse.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454888?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 11:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bc5437d-af2b-4070-9789-c9bba2a92e7f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks Mrd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s&amp;nbsp;pretty&amp;nbsp;interesting that in the PC_working trace I don&amp;#39;t see any retranmission but they are on the iOS traces.&amp;nbsp;I&amp;#39;m thinking of an issue with the timing of the LFCLK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you describe your hardware board ? Do you use external 32kHz crystal or use the internal 32kHz RC ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you do the same test on one of our DK instead of your board ?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you test with other sample, for example peripheral_lbs , can you connect from the iOS device ? You can use nRF Connect app on the phone to connect.&amp;nbsp;&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 example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454776?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 19:09:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5ec9e3f-a5d1-4f24-8f84-eb2b4d9b4258</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;I am not using slave latency as far as I can tell.&lt;/p&gt;
&lt;p&gt;I double checked that I am indeed using the stock example.&lt;/p&gt;
&lt;p&gt;Here are the requested traces.&lt;/p&gt;
&lt;p&gt;iPad is on iOS 15.3.1&lt;/p&gt;
&lt;p&gt;iPhone is iOS 17.0.3&lt;/p&gt;
&lt;p&gt;Additionally, I am using nrf52840 hw v3.0.1 to run the example, and 52840 Preview as the sniffer&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iOS_5F00_iPad_5F00_dbg2.pcapng"&gt;devzone.nordicsemi.com/.../iOS_5F00_iPad_5F00_dbg2.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/iOS_5F00_iPhone_5F00_dbg2.pcapng"&gt;devzone.nordicsemi.com/.../iOS_5F00_iPhone_5F00_dbg2.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/PC_5F00_working.pcapng"&gt;devzone.nordicsemi.com/.../PC_5F00_working.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454369?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 09:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd1346d4-2156-443e-80e5-e6049a79b86f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;br /&gt;Thanks for the trace.&amp;nbsp;&lt;br /&gt;From what I can see it seems that the slave was not very responsive. You can find a lot of retransmission on each command from the master:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&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/pastedimage1699348587805v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is normal when the slave is using slave latency. But it may be too much. Causing the link to be very easy to break.&lt;br /&gt;My suggestion is to check if the mouse use any slave latency ?&amp;nbsp;&lt;br /&gt;As far as I know the sample doesn&amp;#39;t use it, so it&amp;#39;s a little bit strange.&amp;nbsp;&lt;br /&gt;Please also capture the trace when you connect to your PC.&amp;nbsp;&lt;br /&gt;Also capture another trace with iPhone so that we can be sure it&amp;#39;s the same issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454306?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 20:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9886ca12-7177-442a-bc44-cb8d95cb44c5</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;Thank you for the guidance. Here is a much cleaner capture of what&amp;#39;s going on. I did not decrypt it as I believe it is pre-encryption based on what I read in the course?&lt;/p&gt;
&lt;p&gt;The fun begins at line 12280.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally, note that when connecting the DK to my PC, I get a security prompt like this:&lt;/p&gt;
&lt;p&gt;Passkey for 9C:B6:D0:E6:D8:64 (public): 712495&lt;br /&gt;Press Button 1 to confirm, Button 2 to reject.&lt;/p&gt;
&lt;p&gt;But when connecting the DK to iOS, it has never gotten that far.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6204.iOS_5F00_dbg.pcapng"&gt;devzone.nordicsemi.com/.../6204.iOS_5F00_dbg.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454150?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 10:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7031b598-f558-4e64-ac51-8c93f26fbb08</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;br /&gt;You would want to select the device that you want to follow (&lt;span&gt;5b:12:2d:96:6d:09) in the device list&lt;/span&gt;&lt;br /&gt;Please see the screenshot:&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/pastedimage1699265992236v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;This way the sniffer will be able to follow the connection, otherwise it will just capture advertising packets from all device. &lt;br /&gt;&lt;br /&gt;Since the link would most likely be encrypted, you may need to use either the LESC&amp;nbsp; Debug key or you need to printout the LTK to input the sniffer to decrypt. Please check the Academy Course on how to use the sniffer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/454047?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 21:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db180a1e-74f6-46dc-8f46-3929a4a5a480</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;Apologies for the delay - I needed to get a second DK.&lt;/p&gt;
&lt;p&gt;Here is the serial output and the trace file.&lt;/p&gt;
&lt;p&gt;The peripheral_hids_mouse example is at&amp;nbsp;5b:12:2d:96:6d:09&lt;/p&gt;
&lt;p&gt;The iOS device is at&amp;nbsp;47:81:D1:0F:B1:FC&lt;/p&gt;
&lt;p&gt;Hopefully this is all the information you need. I have never used a bluetooth sniffer before.&lt;/p&gt;
&lt;p&gt;Let me know if you need anything else!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Connected 47:81:D1:0F:B1:FC (random)&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) started&lt;br /&gt;button_changed(): left&lt;br /&gt;Disconnected from 47:81:D1:0F:B1:FC (random) (reason 8)&lt;br /&gt;Directed advertising failed to start&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) timed out&lt;br /&gt;Regular advertising started&lt;br /&gt;Connected 47:81:D1:0F:B1:FC (random)&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) started&lt;br /&gt;W: Ignoring data for unknown channel ID 0x003a&lt;br /&gt;Disconnected from 47:81:D1:0F:B1:FC (random) (reason 42)&lt;br /&gt;Directed advertising failed to start&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) timed out&lt;br /&gt;Regular advertising started&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/iOS_5F00_dbg.pcapng"&gt;devzone.nordicsemi.com/.../iOS_5F00_dbg.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/452288?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 13:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf96c64-c07b-48cd-87de-206df135a8bf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please provide the sniffer trace. If you need help on how to use the sniffer you can take a look at &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/"&gt;this course.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I suspect that the 5s delay is simply the connection timeout. One of the peer was crashed/reset/disconnect and therefore 5s later the connection is terminated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/452060?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 17:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c70156c-ae77-4b15-ab69-78475e2667d7</guid><dc:creator>mrd</dc:creator><description>&lt;p&gt;Re&amp;nbsp;&lt;span&gt;NCSDK-19942, the current state is that I can connect to an android device (it receives BAS notifications), but no HID characters are received.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is one more piece of information I neglected to include in the original post though - the disconnection after connection happens after ~5s, without any input from me. I will try to disable&amp;nbsp;CONFIG_BT_AUTO_PHY_UPDATE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have another dk board coming soon that I can use as a sniffer.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edit: After adding CONFIG_BT_AUTO_PHY_UPDATE=n, the new reason for disconnection is 0x08, or BT_HCI_ERR_CONN_TIMEOUT. About 5s elapses between the indicated points here, which is about the same timing has was happening previously.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regular advertising started&lt;br /&gt;Connected 67:32:F4:70:41:6E (random) &amp;lt;---------------------- 5s time starts&lt;br /&gt;Direct advertising to 58:24:29:86:60:18 (public) started&lt;br /&gt;W: Ignoring data for unknown channel ID 0x003a&lt;br /&gt;Disconnected from 67:32:F4:70:41:6E (random) (reason 8) &amp;lt;----------- 5s time ends&lt;br /&gt;Directed advertising failed to start&lt;br /&gt;Direct advertising to 58:24:29:86:60:18 (public) timed out&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) started&lt;br /&gt;Direct advertising to 9C:B6:D0:E6:D8:64 (public) timed out&lt;br /&gt;Regular advertising started&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral hids example does not connect to iOS</title><link>https://devzone.nordicsemi.com/thread/451945?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 11:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17ea7b2-af88-43a9-91fc-fba663094789</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mrd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are still waiting for Google to fix the issue with NCSDK-19942. It may be patched by Google or by other vendors already so you&amp;nbsp;may want to do an actual test to see if it remains.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the issue with&amp;nbsp;&lt;span&gt;BT_HCI_ERR_DIFF_TRANS_COLLISION.&amp;nbsp;We would need to have a sniffer trace to see what exactly happened. In many case it can be a collision with PHY update. So please double check if there is any PHY update that may cause collision with other activity.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;From what I can see in the log, you can pair but after disconnect and connect again the device receive&amp;nbsp;&lt;span&gt;BT_HCI_ERR_DIFF_TRANS_COLLISION, correct ?&amp;nbsp;&lt;br /&gt;I think a sniffe trace would really help.&amp;nbsp;&lt;br /&gt;I did a quick test here with an Iphone running iOS v15.5 and it can connect and reconnect with the peripheral_hids_keyboard (and the SamsungS22 running Android 13 also works).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>