<?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>service and characteristics not updating after switching example projects</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35806/service-and-characteristics-not-updating-after-switching-example-projects</link><description>After switching from the Blinky example to another project, the BLE services have not been cleared from the Blinky project. The newly built UART App example will load, but when connected to a BLE Phone App, it still shows the characteristics from the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Jun 2018 15:36:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35806/service-and-characteristics-not-updating-after-switching-example-projects" /><item><title>RE: service and characteristics not updating after switching example projects</title><link>https://devzone.nordicsemi.com/thread/137735?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:36:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1948a2c-f91f-48a9-820c-b773d92704aa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Dan,&lt;/p&gt;
&lt;p&gt;Disabling and re-enabling BLE in settings clears the attribute cache, and thefore forces the iphone to perform a new service discovery on the following connection. You can avoid caching by including the service changed characteristic in your attribute table. Set the NRF_SDH_BLE_SERVICE_CHANGED symbol in sdk_config to &amp;#39;1&amp;#39; to enable it.&lt;/p&gt;
&lt;p&gt;Note: for bonded devices you need to send a service changed indication to make the central perfom a new service discovery. You can find more information about attribute caching in Bluetooth core specification, vol. 3, part G, section 2.5.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service and characteristics not updating after switching example projects</title><link>https://devzone.nordicsemi.com/thread/137726?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0749020-eaf5-4359-805c-8464cd9b2949</guid><dc:creator>Dan Phelan</dc:creator><description>&lt;p&gt;Thanks for the suggestions.&amp;nbsp; I tried the full erase and closing the phone app, but still the services and&amp;nbsp;&lt;/p&gt;
&lt;p&gt;characteristics did not update.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But what finally worked was to disable BLE on the iPhone&amp;#39;s&amp;nbsp; Settings, then re-enabled after a minute.&amp;nbsp; &amp;nbsp;This cleared the problem and LightBlue and the nrf Toolbox apps worked normally.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: service and characteristics not updating after switching example projects</title><link>https://devzone.nordicsemi.com/thread/137692?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 13:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c809dd6c-0fa4-4b1e-8bd8-643b611a9ed0</guid><dc:creator>kphalak</dc:creator><description>&lt;p&gt;Its always a good practice to erase full chip before loading new firmware. May be it&amp;#39;s in settings of your IDE.&lt;/p&gt;
&lt;p&gt;May be stupid question but did you close the app and reopened, because it can have cache problem on phone side too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>