<?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>nrf connect app problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73270/nrf-connect-app-problem</link><description>Dear friend， 
 
 
 I am doing a test like this: 1. Connect the Bluetooth device with the nrf conncet app of the Android phone. 2. The notify (CCCD) is enabled. 3. Click &amp;quot;disconnect&amp;quot; on the nrf connect APP to disconnect. 4. Click &amp;quot;connect&amp;quot; again to reconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 May 2021 08:25:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73270/nrf-connect-app-problem" /><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/308088?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 08:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cee7d1e3-890b-4589-8331-2d97296f3285</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay. I cannot reproduce the issue on nRF52832DK. Here is my test project &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_template_5F00_267175.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_template_5F00_267175.zip&lt;/a&gt;. If you want to test on nRF52832DK, you can place it under&amp;nbsp;nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral. After disconnection, both two&amp;nbsp;&lt;span&gt;&amp;quot;Characteristic A&amp;quot; and &amp;quot;Characteristic B&amp;quot; can receive data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/307181?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 09:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:032c1cee-73d4-45fb-a130-930a8d7d6849</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;Create a private service. There are two features under this service: &amp;quot;Characteristic A&amp;quot; and &amp;quot;Characteristic B&amp;quot; (the configuration of the two Characteristic on the device is the same)&lt;br /&gt;The following tests were carried out in nRF Connect for Android:&lt;br /&gt;1. Open the notify of &amp;quot;Characteristic A&amp;quot; and the notify of &amp;quot;Characteristic B&amp;quot;.&lt;br /&gt;2. Send data to &amp;quot;Characteristic A&amp;quot; and &amp;quot;Characteristic B&amp;quot;, and nRF Connect for Android can receive the data.&lt;br /&gt;3. Disconnect and reconnect the device.&lt;br /&gt;4. The connected device does not perform the enable operation of notify, and the device sends data to &amp;quot;Characteristic A&amp;quot; and &amp;quot;Characteristic B&amp;quot;&lt;br /&gt;Result: &amp;quot;Characteristic A&amp;quot; can receive data, &amp;quot;Characteristic B&amp;quot; cannot receive data&lt;br /&gt;Question: Why can&amp;#39;t for &amp;quot;Characteristic B&amp;quot; receive data ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/306812?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 13:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f06fce-4270-411b-852c-9077636d4232</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;This is not about Android and iOS being different. Saving state of CCCD for bonded devices is a feature of nRF Connect for Android, it&amp;#39;s a feature we implemented to be more &amp;quot;complaint with spec&amp;quot;. In nRF Connect for iOS it is not possible to implement, as the API does not expose the bonding state to the connected device. So the app does not know whether the device is bonded, or not. And the system does not cache CCCD for remote characteristics, as far as I know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/305726?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 07:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16dab855-84dd-4dd2-b8b4-e03d3e629377</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;Can you analyze why ios and Android are different? Or is there any article about the different descriptions of Bluetooth connection between ios and Android?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304214?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 09:35:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:939412ad-c003-47cf-b69e-9e9b081503b8</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This is not a &amp;quot;phenomenon&amp;quot;. Your device is bonded, which means both client and server can store the value of Client Characteristic Configuration Descriptor (CCCD), so that after reconnection enabling notifications/indications is not required. nRF Connect for Android does it. It cannot verify whether the other side in fact also has stored CCCD value (without reading CCCD value), but with Nordic SDKs it should be true. You may always read the value of CCCD to update the value.&lt;/p&gt;
&lt;p&gt;Had your device not been bonded, you would not have had this &amp;quot;phenomenon&amp;quot;.&lt;/p&gt;
&lt;p&gt;Also, another fun fact, if nRF Connect receives a notification/indication from a characteristic which had the value set to &amp;quot;disabled&amp;quot;, is assumes they were actually enabled, and changes the CCCD state accordingly. For that, nRF Connect calls &lt;a href="https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothGatt#setCharacteristicNotification(android.bluetooth.BluetoothGattCharacteristic,%20kotlin.Boolean)"&gt;setCharacteristicNotification&lt;/a&gt; with value true for each characteristic with NOTIFY/INDICATE properties (you can see it in the log). This does not enable notifications remotely, but notifies Android system, that the local client is interested in receiving updates on those attributes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304208?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 09:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d6cb07-fcb4-4af1-90ed-eaac4cb7233c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Zero,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can reproduce&amp;nbsp;the&amp;nbsp;&lt;span&gt;phenomenon&lt;/span&gt; if the phone bonded with the HRS. Because the device is bonded, the CCCD state is saved. After deleting the bond info, you could see it work as the ios app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304175?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 06:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e40821ba-1687-4dcb-bab0-c5ac49638494</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;HUAWEI Mate 30 pro,&lt;/p&gt;
&lt;p&gt;XIAOMI 11 pro,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Samsung Galaxy S21.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304172?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 06:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f15bdba-f18f-4b60-b7d5-97f17744c1db</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Do you try another android phone?&lt;/p&gt;
&lt;p&gt;What is the android phone you are using?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304170?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 06:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f8b598c-8e1d-4c69-af40-a90a66747e2e</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;Yes, that&amp;#39;s how I do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/304167?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 05:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7417ff-cdb5-4985-be79-05ba3f8429a3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you try to&lt;span&gt;&amp;nbsp;disconnect,&amp;nbsp;&lt;/span&gt;&lt;span&gt;refresh device cache, and then reconnect?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302831?ContentTypeID=1</link><pubDate>Thu, 01 Apr 2021 06:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:702875ef-2313-4ced-a441-6bbfabe19461</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;How to solve this phenomenon?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302567?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 11:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b38fab84-6408-4e28-894f-5ff3149c2c9d</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;Based on the Heart Rate Application routine of sdk15.3, after disconnecting, refresh the device cache and then reconnect, the same phenomenon occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302546?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 11:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff3dacf3-cc9a-4fe8-9802-c38f1f87a06e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try to disconnect,&amp;nbsp;&lt;span&gt;refresh device cache, and then reconnect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Android phones might still keep the casched data and need to fresh.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please note that due to the Easter holiday, we&amp;#39;re low on staff, so somewhat lower response times must be expected until April 6th. Sorry about the inconvenience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302532?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 09:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c1f598f-4453-48c6-812e-bcb4f333e48b</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;I just did a &amp;quot;disconnect&amp;quot;/&amp;quot;reconnect&amp;quot; operation.&lt;br /&gt;I want to know why ios does not have this phenomenon, but Android phones have this phenomenon?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302528?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 09:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2fa43ac-2df1-4f55-ad21-60b53dad0138</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the&amp;nbsp;&lt;span&gt;refresh device cache work? If so, it might the phone has chosen to update the cached data. The phone will cache the information it has on a device (name, Bluetooth address, etc).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please note that due to the Easter holiday, we&amp;#39;re low on staff, so somewhat lower response times must be expected until April 6th. Sorry about the inconvenience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302524?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 09:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42486a4f-5b30-40d6-aee5-0fc201c12ab0</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;What is the cause of this phenomenon?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302518?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 08:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddd9c741-12eb-4e37-b3c0-412af14a11b2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to refresh device cache after disconnection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4885.refresh-the-device-cache.png" /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302271?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 01:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03ce9df-9c0e-484c-911e-7b53b0f56370</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Heart Rate Application is the same phenomenon&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/786f07f904d1426052df79d756b9f942.mp4"&gt;devzone.nordicsemi.com/.../786f07f904d1426052df79d756b9f942.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect app problem</title><link>https://devzone.nordicsemi.com/thread/302140?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 13:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba161d56-fe34-4897-97df-edd32275e501</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to test&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_hrs.html"&gt;Heart Rate Application&lt;/a&gt;?&amp;nbsp;Do you also see the same&amp;nbsp;&lt;span&gt;phenomenon?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If not, please refer to the example to check and debug the code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>