<?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>indication timeout reliability</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19355/indication-timeout-reliability</link><description>Hello,
I am using two NRF52&amp;#39;s to test out indications.
I have modified the Heart Rate Collector Application (Central) and Heart Rate Application (Peripheral) examples to register and send Indications instead of Notifications. 
 The problem is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Feb 2017 22:46:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19355/indication-timeout-reliability" /><item><title>RE: indication timeout reliability</title><link>https://devzone.nordicsemi.com/thread/75081?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 22:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f72bf2f5-99a3-4369-b43d-3ac8c52e040b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No worries :) Great that you figured it out. Maybe you can accept my answer by clicking the grey circle next to it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: indication timeout reliability</title><link>https://devzone.nordicsemi.com/thread/75080?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 20:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ce92ec-bdb1-45d7-82f0-c7fcc7215f94</guid><dc:creator>639zw</dc:creator><description>&lt;p&gt;Petter, I figured it out. It had to do with how ble_bas.c implements &amp;#39;ble_bas_battery_level_update()&amp;#39;. Specifically it only sends the notification/indication if the value is different than the previous reported value... I was sending the same value all the time. I&amp;#39;m not sure why 2-3 indications would successfully go out before stopping. However, that&amp;#39;s a different problem. Thank you for your help, and I&amp;#39;m sorry for wasting some of your time. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: indication timeout reliability</title><link>https://devzone.nordicsemi.com/thread/75079?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 17:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1dc16ef-9b56-4da9-a794-5f9a99580bf0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I guess there is a very small chance, but then it would be a bug. Do you have a sniffer log? Also, could you upload your complete project(s) so I can test them here? What SDK and SoftDevice versions are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: indication timeout reliability</title><link>https://devzone.nordicsemi.com/thread/75078?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 17:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9736a1-e65d-42f4-b9db-f545fd69d0f9</guid><dc:creator>639zw</dc:creator><description>&lt;p&gt;Petter, Thanks for the reply! I am sure the indication is actually sent since I get the Indication on the RF52 running as the Central. I have print messages to say when the Central receives an indication, and when it sends the confirmation. The Peripheral never receives a &amp;#39;BLE_GATTS_EVT_HVC&amp;#39; event. Is there a possibility that the softdevice receives the indication but never sends the &amp;#39;BLE_GATTS_EVT_HVC&amp;#39; event? That seems to make sense, since I would not get a timeout in that case. Maybe if the indication confirmation is corrupted somehow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: indication timeout reliability</title><link>https://devzone.nordicsemi.com/thread/75077?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 17:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72b1fd6c-7f23-4953-bc5b-06386fb1ef2c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sounds very strange that it misses the confirmation. It should either get a BLE_GATTS_EVT_HVC event or a BLE_GATTS_EVT_TIMEOUT event, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_t_t_s___h_v_i___m_s_c.html?cp=2_3_0_1_1_2_4_3_2"&gt;this&lt;/a&gt; MSC. Are you sure that the indication is actually sent? Are you checking the return value of sd_ble_gatts_hvx()?&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes.&lt;/li&gt;
&lt;li&gt;30 seconds.&lt;/li&gt;
&lt;li&gt;Correct.&lt;/li&gt;
&lt;li&gt;Correct.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>