<?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>The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23840/the-nrf-toolbox-cannot-find-services-when-i-changed-the-application-of-pca10028</link><description>My android version is the Kitkat. 
 The nRF Toolbox cannot find services when I changed the application of PCA10028 for example from ble_app_hts to ble_app_hrs. 
 The message below appeared. 
 
 The result of observing with the Android message is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 12:45:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23840/the-nrf-toolbox-cannot-find-services-when-i-changed-the-application-of-pca10028" /><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93789?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 12:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:437ef39c-438d-4395-a4e3-126d278af2e8</guid><dc:creator>J.Kwon</dc:creator><description>&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93788?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 15:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec18d79e-4e23-48a4-b100-2bd05a0f8859</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi this is the cashing issue. Android always cashes services. The service says, that on non-bonded devices, if Service Changed characteristic is present, the services should not be kept, but it is much more common to reconnect to a non-bonded device having the same services as it had before, then connecting to it with new services (for example during developement or dfu) so they decided to store them in the cache despite that. That&amp;#39;s why, every time you connect to your DK which has a different fw flashed, Android &amp;#39;sees&amp;#39; the old services. Please, read more here: &lt;a href="https://devzone.nordicsemi.com/blogs/1046/what-to-keep-in-mind-when-developing-your-ble-andr/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is such by design. If you want to clear the cache in you app, you may do what the DFU lib is doing here: &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library/blob/release/dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java#L1334"&gt;github.com/.../DfuBaseService.java&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you just want to try with nRF Toolbox, before you connect from the new profile, you have to open nRF Connect app, connect to your device, select Menu-&amp;gt;Refresh services. It will clear the cache using the above method and do a new service discovery. Then you may disconnect, open nRF Toolbox (the new profile) and try again. This time the new services will be discovered.&lt;/p&gt;
&lt;p&gt;BR, Aleksander&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93792?ContentTypeID=1</link><pubDate>Sat, 29 Jul 2017 07:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:658943b9-3312-454c-8496-19fd344f8aff</guid><dc:creator>J.Kwon</dc:creator><description>&lt;p&gt;I tried re-pair already.. But the nRF app continue to recognize previous services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93793?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 13:40:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ade79a0-4cf2-4319-965b-ae872693dcb8</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Can you try to go into your Bluetooth settings on your phone and see if there is a list of paired devices? If the list contains your device try unpairing it and start over again with nRF Toolbox.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93791?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 07:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e1a76f7-6ee1-433a-81bc-abf6119eb09f</guid><dc:creator>J.Kwon</dc:creator><description>&lt;p&gt;No, subapp(HRS or HTS, ...) isn&amp;#39;t important.&lt;/p&gt;
&lt;p&gt;the message appear whenever the services of the server(PCA10028) change from HTS to HRS and vice versa.&lt;/p&gt;
&lt;p&gt;I want to know method of handling Service Changed Characteristic..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93794?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 06:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc07b327-703d-4154-8c35-68b69254d9d4</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ok, maybe I misunderstood your question. In your picture it looks like you are trying to connect to a HRS device using the HTM part of the nRF Toolbox app. That won&amp;#39;t work. Try using the HRM part of the app instead.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/HRM.PNG" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93795?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 03:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db71d9c-4929-4272-b6ca-b52b32bbf0dc</guid><dc:creator>J.Kwon</dc:creator><description>&lt;p&gt;But, nRF Toolbox cannot recognize changed service although I set SOFTDEVICE_GATTS_SRV_CHANGED in softdevice_handler.c to 1.&lt;/p&gt;
&lt;p&gt;Do I need another code to handle the Service Changed Characteristic in GATT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nRF Toolbox cannot find services when I changed the application of PCA10028.</title><link>https://devzone.nordicsemi.com/thread/93790?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 07:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2db1daaa-12c2-4f10-a43f-dd1efe99aafe</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your phone might be caching the attribute table with its characteristics and services in your peripheral. This is actually standard procedure according to the BLE specification. The next time the devices connect the phone assumes that nothing has changed. It does this to avoid wasting power by transferring the entire attribute table on each new connection. Usually it helps to either, disable and reenable BLE on your phone, close your current app, open a new Bluetooth app, and then go back to your first app, or reboot your phone. To notify the phone about a new attribute table you can also enable the Service Changed characteristic, though this should be enabled by default in the latest SDKs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>