<?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>How to disable indications inside central coming from the peripheral without disconnecting? I am using nRF52832.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50201/how-to-disable-indications-inside-central-coming-from-the-peripheral-without-disconnecting-i-am-using-nrf52832</link><description>In my current project, I am receiving multiple indications from peripheral device. After 25 indications, I need to pause the indications or disable the indications. I am using Soft Device S132. Is there any way? 
 I am using following code:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2019 04:39:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50201/how-to-disable-indications-inside-central-coming-from-the-peripheral-without-disconnecting-i-am-using-nrf52832" /><item><title>RE: How to disable indications inside central coming from the peripheral without disconnecting? I am using nRF52832.</title><link>https://devzone.nordicsemi.com/thread/200388?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 04:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9cd2db-0790-4c0b-9058-bf402654a0c1</guid><dc:creator>Sanket</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ret_code_t ble_apg_c_indication_enable(ble_apg_c_t *p_ble_apg_c, uint16_t uuid_value) {
  VERIFY_PARAM_NOT_NULL(p_ble_apg_c);

  uint16_t cccd_handle = get_cccd_handle_to_indicate(p_ble_apg_c, uuid_value);
  if ((p_ble_apg_c-&amp;gt;conn_handle == BLE_CONN_HANDLE_INVALID) || (cccd_handle == BLE_GATT_HANDLE_INVALID))
    return NRF_ERROR_INVALID_STATE;

  return cccd_configure(p_ble_apg_c-&amp;gt;conn_handle, cccd_handle, BLE_GATT_HVX_INDICATION);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable indications inside central coming from the peripheral without disconnecting? I am using nRF52832.</title><link>https://devzone.nordicsemi.com/thread/200387?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 04:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:999179a1-deb9-415e-bedf-86e7105e5967</guid><dc:creator>Sanket</dc:creator><description>&lt;p&gt;Hi Edwin. Thanks for the valuable reply. I solved the issue. These functions are working OK. My enable indication function is same as disable function except&amp;nbsp;instead &amp;#39;0&amp;#39;, it passes&amp;nbsp;BLE_GATT_HVX_INDICATION to&amp;nbsp;cccd_configure function.&amp;nbsp;&lt;br /&gt;I want to disable the indication. But what happen is, when I acknowledge the first indication, the next came up. Now after acknowledging 5th indication, I am going to disable the indication. But as I acknowledged 5th indication, the sixth indication come up. I actually don&amp;#39;t want sixth indication. Because of that after some time, as I haven&amp;#39;t acknowledged that sixth indication, the peripheral gets disconnected because of supervision timeout. To solve this issue, what I did is, after 5th indication I firstly send disable indication, then acknowledged that fifth indication. So the sixth indication will never come.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable indications inside central coming from the peripheral without disconnecting? I am using nRF52832.</title><link>https://devzone.nordicsemi.com/thread/200309?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 14:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da3502a7-f57b-4c54-bc9a-b42deb825b12</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;And does that code work? What does it return?&lt;/p&gt;
&lt;p&gt;For comparison, what does your &amp;quot;enable indication&amp;quot; functions look like?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>