<?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>Advertised characteristics do not update on iOS NRFConnect 2.3.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64929/advertised-characteristics-do-not-update-on-ios-nrfconnect-2-3-2</link><description>I am using nRF Connect 2.3.2 on iOS 13.6 on an iPhone 11 Pro Max. I can scan and find my nRF52-DK with the flashed application and the service is correctly advertised (e.g. Heart Rate Service). As soon as I connect and view the characteristics the tool</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Aug 2020 13:30:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64929/advertised-characteristics-do-not-update-on-ios-nrfconnect-2-3-2" /><item><title>RE: Advertised characteristics do not update on iOS NRFConnect 2.3.2</title><link>https://devzone.nordicsemi.com/thread/266002?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 13:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58df5e7c-0bbf-4118-a2a5-6205dcb69225</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="daubsi"]I had partly success. On the one hand when building a new project from scratch using the template project it did not occur so far that I saw &amp;quot;old&amp;quot; characteristics that look like remainder from previous projects in the nRFConnect tool despite the project does not even include those characteristics. As such I cannot say if NRF_SDH_BLE_SERVICE_CHANGED would actually help here.[/quote]
&lt;p&gt;&amp;nbsp;It&amp;#39;s important that the cache is cleared before you add NRF_SDH_BLE_SERVICE_CHANGED, else it will not have any effect (iOS will not know that it has been added).&lt;/p&gt;
[quote user="daubsi"]iOS in general due to the different BLE implementation layer in the OS. I hope a later update can remedy most of the problems.[/quote]
&lt;p&gt;&amp;nbsp;It should feel fairly responsive. I just tested this on an iPhone 8 with nRF connect version v2.3.2 and it took one press and approx. 1 second to enable notifications on the hrs characteristic. This is with a relatively slow connection interval (400-500ms). You may try to reduce the connection interval to see if that helps (iOS will accept 15 ms intervals if you request MIN_CONN_INTERVAL=MAX_CONN_INTERVAL=15ms).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertised characteristics do not update on iOS NRFConnect 2.3.2</title><link>https://devzone.nordicsemi.com/thread/265858?ContentTypeID=1</link><pubDate>Sun, 23 Aug 2020 18:32:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ada5560b-128e-4d31-9d87-e52fe3d2e360</guid><dc:creator>daubsi</dc:creator><description>&lt;p&gt;I had partly success. On the one hand when building a new project from scratch using the template project it did not occur so far that I saw &amp;quot;old&amp;quot; characteristics that look like remainder from previous projects in the nRFConnect tool despite the project does not even include those characteristics. As such I cannot say if NRF_SDH_BLE_SERVICE_CHANGED would actually help here.&lt;/p&gt;
&lt;p&gt;I also have an old Android tablet running Android v5.1.1 and what I can say in direct comparison is that the Android variant of nRFconnect seems to be much more responsive and stable than the iOS pendant. In the Android app I can tab on a characteristic and the desired action is executed immediately. In the iOS it constanly seems as if the app is hanging or frozen, like the Read/Write icons change state but don&amp;#39;t reactivate or seem to do any action. I need to tap 3 or 4 times on &amp;quot;Notify&amp;quot; until the request is finally received at the DK etc. I can confirm that it is not an issue with my code as it works perfectly and reactive using nRFconnect for Android. As I am a beginner with nRF tools and products I cannot say if it is this particular version of the nRFConnect tool which is buggy or whether it is a problem on iOS in general due to the different BLE implementation layer in the OS. I hope a later update can remedy most of the problems. Other tools like LightBlue seem to be more responsive to user interaction here as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertised characteristics do not update on iOS NRFConnect 2.3.2</title><link>https://devzone.nordicsemi.com/thread/265304?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 12:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc45bd83-4d81-4157-a83d-244bcad45f00</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The iPhone is likely doing what&amp;#39;s known as attributes caching. It&amp;#39;s a BT feature that allows it to skip service discovery every time it connects to your device. For a complete summary of this feature I recommend you take a look at the following section in the Bluetooth core spec: vol3, part g, section 2.5.2. Anyway, in order to clear the cache and force a new service discovery, first, make sure it&amp;#39;s not in the list of bonded devices in settings-&amp;gt;bluetooth, then toggle flight mode enable (or reboot the phone). The cache should be cleared after this.&lt;/p&gt;
&lt;p&gt;You may also consider building the app with NRF_SDH_BLE_SERVICE_CHANGED enabled. This adds the service changed characteristic to the attribute table, which effectively disables attribute caching for non-secure connections.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>