<?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>nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84311/nrf52-sdk16-device-discovery-problem-in-ios</link><description>Hi Community, 
 Recently I have started testing my BLE peripheral running HRS with iPhone. My device is running SDK16 on nRF52 SoC. This is working perfectly with Android mobiles. \ 
 I searched the community for this issue and found below thread which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Feb 2022 10:26:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84311/nrf52-sdk16-device-discovery-problem-in-ios" /><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/352008?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 10:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2863483e-78c1-443c-b470-2730b6c0ef1c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Additionally to toggling the airplane mode off and on, you should also clear the cache by forgetting devices in the phones Bluetooth settings if any, as well as &amp;quot;delete bonding info&amp;quot; or &amp;quot;forget device&amp;quot; in the nRFConnect app. I don&amp;#39;t remember what the iPhone app says exactly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351946?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 04:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b226c8a-83fb-47c4-bfb6-aab6327f1e6b</guid><dc:creator>Lakshmikanth Satyavolu</dc:creator><description>&lt;p&gt;Thanks for the reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am performing on and off Airplane mode to forget the bonding for every run. On every run iPhone starts scanning the devices and it only connects after I allow it to. Is there anything I need to perform to forget bonding?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I checked with the hex file provided by you. Observed same issue. I have attached nRF connect log from iOS for your reference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5775.text-2.txt"&gt;devzone.nordicsemi.com/.../5775.text-2.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Since this is a Dongle, you can also try recovering the Dongle entirely as described in the bottom part of our Dongle Programming tutorial here.&lt;/pre&gt;I don&amp;#39;t understand the above. Could you please let me know why do we need to do this? I am able to program the dongle after I put it in boot mode by pressing reset.&lt;/p&gt;
&lt;p&gt;I am using iPhone 6 with Software version is 12.5.5.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Lakshmi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351739?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 10:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca0fb263-d584-4aee-b179-43c8859563c3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I just tried the Blinky example from nRF5 SDK v16.0.0 myself on an iPhone 11, iOS v15.2.1 with the nRFConnect app and did not have any issues connecting and discovering its services, so this seems very strange. Here&amp;#39;s the .hex file I used:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5657.ble_5F00_app_5F00_blinky_5F00_pca10059_5F00_s140.hex"&gt;devzone.nordicsemi.com/.../5657.ble_5F00_app_5F00_blinky_5F00_pca10059_5F00_s140.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could it be that the bonding information to this Dongle is already stored on your iPhone perhaps. If so please try deleting bonding information before trying to connect again. Since this is a Dongle, you can also try recovering the Dongle entirely as described in the bottom part of our &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;Dongle Programming tutorial here&lt;/a&gt;. If that doesn&amp;#39;t help either, what iPhone and iOS version are you using specifically?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351665?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 05:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c49cb909-e519-4cac-aa6d-9070b6f4bff4</guid><dc:creator>Lakshmikanth Satyavolu</dc:creator><description>&lt;p&gt;Also I have programmed my nRF52840 dongle with blinky application and check. But I am seeing same errors as my custom application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Attached is the iOS nRF connect log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/text.txt"&gt;devzone.nordicsemi.com/.../text.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351530?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 12:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96a6c63f-75ec-4d71-b037-e3bc5ffe154c</guid><dc:creator>Lakshmikanth Satyavolu</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you get a chance to look into this? It is bit urgent. Any help is highly appreciated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Lakshmi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351434?ContentTypeID=1</link><pubDate>Sun, 06 Feb 2022 16:34:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2888b2f7-b85f-47b5-aed8-9dda68d69883</guid><dc:creator>Lakshmikanth Satyavolu</dc:creator><description>&lt;p&gt;+ log from nRF firmware debug that confirms firmware set 185 MTU size.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: Heart Rate Sensor example started.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.
&amp;lt;info&amp;gt; app: Connected.
&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 185 bytes on connection 0x0 (response).
&amp;lt;info&amp;gt; app: GATT ATT MTU on connection 0x0 changed to 185.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 27 on connection 0x0.
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 27
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 328
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 328&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/351254?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 09:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e65daad8-09e2-4a13-b979-566454fd4352</guid><dc:creator>Lakshmikanth Satyavolu</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thanks for response. I have tried reducing MTU size but still seeing errors in discovery. I have attached nRF Sniffer log. Please have a look and help me in understanding the problem&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ios_5F00_discovery_2D00_1.pcapng"&gt;devzone.nordicsemi.com/.../ios_5F00_discovery_2D00_1.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Lakshmi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 SDK16 device discovery problem in iOS</title><link>https://devzone.nordicsemi.com/thread/350907?ContentTypeID=1</link><pubDate>Wed, 02 Feb 2022 14:08:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:090153c8-cc10-426e-b537-cd427ebbe927</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you tried doing what Vidar first recommends in the ticket you link to, to clear the cache by forgetting nRF devices in the Bluetooth settings before trying to connect? From the log, it doesn&amp;#39;t seem like the error is triggered until you try enabling notifications for one of the characteristics, so it doesn&amp;#39;t seem like the discovery process is the issue to me. Unfortunately it seems to report an &amp;quot;Unknown error&amp;quot; code, which doesn&amp;#39;t tell us much of value. Do you have an nRF52 DK you can try using as a peripheral, so we can get a log from the nRF side as well? Maybe that&amp;#39;s able to tell us more about what exactly is failing? You can also try taking a sniffer trace (using the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;nRF Sniffer &lt;/a&gt;for example) so we can get some details of what&amp;#39;s going on over the air exactly.&lt;/p&gt;
&lt;p&gt;Regarding the MTU size that is mentioned, iOS devices generally won&amp;#39;t accept MTU sizes larger than 184 bytes if I recall correctly, so if your nRF52 is trying to set it higher than this, that might be what&amp;#39;s going wrong in your connection.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>