<?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>IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64010/ios-devices-suddenly-can-no-longer-connect-or-discover-services</link><description>We have a custom BLE service with several Gatt characteristics using the nrf52832 SDK 15. On occasion a device is no longer able to connect to IOS devices. This occurs after several successful connections. It seems to be more frequent with iPhone x and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Aug 2020 13:08:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64010/ios-devices-suddenly-can-no-longer-connect-or-discover-services" /><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263839?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:877b0f7f-b2e2-4cc6-8e36-cda6ab1a4400</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;Yes we can provide you with the required materials to test. I have followed up via email at&amp;nbsp;dinesh.harjani@nordicsemi.no .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263744?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 07:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d583ab08-f32d-474b-aac0-2d1e84bf2485</guid><dc:creator>Dinesh Harjani</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/rberanek"&gt;Rberanek&lt;/a&gt;, nRF Connect app developer here,&lt;br /&gt;&lt;br /&gt;If you could provide us with a devkit sample to install and debug this it&amp;#39;d be greatly appreciated.&lt;br /&gt;&lt;br /&gt;Nevertheless, I&amp;#39;m happy you and &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt; were able to solve the issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263242?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 13:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20842c88-0164-455a-b244-983aa17d0d99</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;LightBlue was able to connect. Looks like this is an BLE library issue on the application side.&lt;/p&gt;
&lt;p&gt;Thank you for your help debugging this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263212?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 12:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93864f6-b267-43e8-96f5-4303582deba2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I suspect it can be an issue with our nRF Connect app, could you try testing with other app ? For example LightBlue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263062?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 15:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e23da62e-f125-41c9-9b07-ead55f74495e</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;Yes we have tried with multiple phones. Once the issue occurs it seems all iPhones are not connectable. We have&amp;nbsp;seen the issue on iPhones 6,8,X,11. Restarting the phone did not help. The device remains connectable with android phones.&lt;/p&gt;
&lt;p&gt;The iPhones do no have any issues connecting to new devices or other application examples. The issue seems to happen sporadically within a week or two of use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/263059?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 15:04:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6366f6e-89af-4a34-94ff-a172fe79c493</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rberanek,&lt;/p&gt;
&lt;p&gt;From the sniffer trace I don&amp;#39;t see any problem with the advertising packet. It&amp;#39;s advertise as connectable packet.&lt;br /&gt;I give an example here of a non connectable packet:&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x312/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-914e9be9418b498d9f0a05275e2bf446/pastedimage1596553114416v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can find the PDU type of 0x02 when in your sniffer trace it&amp;#39;s 0x00 meaning it&amp;#39;s a normal connectable advertising packet:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/911x387/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-914e9be9418b498d9f0a05275e2bf446/pastedimage1596553226509v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tried to use another phone to check if it shows the device as connectable or not ? Please try to restart the phone as well.&amp;nbsp;&lt;br /&gt;In addition, please test with other BLE app, for example Lightblue app .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/262465?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 18:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89185218-798b-4d5b-a031-2a7086bad49e</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;I have attached a sniffer log from one of the devices not is not connection to IOS. Same behavior as described previously: device is discoverable, it is connectable with android app and nrf connect,&amp;nbsp;it is not&amp;nbsp;connectable with IOS app or IOS nrfConnect. This device also had a device name corruption issue where the device name is empty. We have seen this correlates with the IOS connectivity issue, but we have also had devices with non-empty device names not connect.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/CC27A8F9F70F-IOS-not-connectable-log.pcapng"&gt;devzone.nordicsemi.com/.../CC27A8F9F70F-IOS-not-connectable-log.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261630?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 14:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:464358af-996a-41e9-ba02-8a527a0631dd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I think should clarify here. The nRF Connect app display a node as connectable or not connectable only base on the advertising flags.&lt;br /&gt;This should not related to any of the behavior when it&amp;#39;s connected or if you support only one peripheral connection.&amp;nbsp;&lt;br /&gt;And this flag should be the same between devices, so when you see it&amp;#39;s non-connectable on one phone it should be the same on other phone. It&amp;#39;s very strange that you can connect from other phones.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you advertise after you have a connection to a central device ? If you do advertise and if you configure to support only one peripheral connection then the softdevice will only allow you to advertise with non-connectable flag.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try capture a sniffer trace when you see it&amp;#39;s &amp;quot;non-connectable&amp;quot; .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261614?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 13:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:988c1907-63db-4373-a049-9f820e48bd93</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;One idea I have looked at is the the handler for&amp;nbsp;&lt;span&gt;BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In gatt_init&amp;nbsp; we run the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; err_code = nrf_ble_gatt_att_mtu_periph_set(&amp;amp;m_gatt, NRF_SDH_BLE_GATT_MAX_MTU_SIZE);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, the handler returns the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;err_code=sd_ble_gatts_exchange_mtu_reply(p_ble_evt-&amp;gt;evt.gatts_evt.conn_handle,23);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could the mis-matched mtu sizes be causing an issue? I have tried setting handler setting to NRF_SDH_BLE_GATT_MAX_MTU_SIZE as well. So far we haven&amp;#39;t had any issues, but we will need to test for at least a few more days to confirm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261604?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 12:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5373e6a5-5fb9-46e8-aa80-06bb337a9f16</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;We limit the device to only one peripheral connection. That is the only thing that I can think of that would cause the device to be set to non-connectable.&lt;/p&gt;
&lt;p&gt;No we haven&amp;#39;t seen any issues with SDK examples, but we haven&amp;#39;t tested those in a large deployment. As mentioned earlier this seems to be happening specifically with Iphones X and 11. We have also test on Iphones 8, 6 without issue.&lt;/p&gt;
&lt;p&gt;We did scan and connect with an Android phone. The Android phone was able to connect without issue when he had an unconnectable device with an iPhone.&lt;/p&gt;
&lt;p&gt;I will follow up once with have a sniffer trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261371?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2020 13:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07dd0e5e-252a-452f-ba46-78b28188396d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;From what I can see your device is advertising as non-connectable.&amp;nbsp;&lt;br /&gt;Is there anything in the code that may set the advertising flag to this mode ?&amp;nbsp;&lt;br /&gt;Do you see the same issue with a SDK example ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to capture a sniffer trace. Also try to use an Android phone to scan&amp;amp;connect, just to cross check.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261250?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 17:05:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b8f5781-5ebe-4653-9b7b-435de4616e63</guid><dc:creator>Rberanek</dc:creator><description>&lt;p&gt;I have attached an image of the advertising scans as well as a successfully connected device. I have tried a few different advertising intervals without any noticeable change in the behavior.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&amp;nbsp;What happened when you try to connect ?&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:30px;"&gt;Connection is not available, as you can see the &amp;#39;Connect&amp;#39; button is grayed out and disabled on nrfConnect. We can&amp;#39;t connect via our app either.&lt;/p&gt;
&lt;p&gt;Previously we were getting more of these issues when we didn&amp;#39;t leave a delay between initializing the fstorage instance and the BLE service. I now have a 500 ms delay between the two which has reduced the frequency of these issues. However adding a delay is not ideal for our application as we need some events the occur right after the device awakes from sleep mode.&lt;/p&gt;
&lt;p&gt;I will try and capture a sniffer trace, the issue is sporadic and occurs with some of our beta users so it may take&amp;nbsp; little while before I am able to capture this data.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Image-from-iOS-_2800_3_2900_.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Image-from-iOS-_2800_4_2900_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IOS devices suddenly can no longer connect or discover services</title><link>https://devzone.nordicsemi.com/thread/261220?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 13:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d32e39f-842a-44c2-8f46-23211abc33c6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you take a screenshot on nRF Connect when scanning for the device that &amp;quot;discoverable but not connectable&amp;quot;. What happened when you try to connect ? Could you show the advertising packet detail ?&amp;nbsp;&lt;br /&gt;Please try capture a &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;sniffer trace&lt;/a&gt; as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>