<?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>Reset / Clear hvn tx queue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37627/reset-clear-hvn-tx-queue</link><description>In my application an nRF52832 acts as a BLE peripheral device which is sending sensor data to an app on a mobile phone. As long as the phone is interested, notification on the relevant characteristic is enabled, the firmware is adding sensor data to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Aug 2018 12:33:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37627/reset-clear-hvn-tx-queue" /><item><title>RE: Reset / Clear hvn tx queue?</title><link>https://devzone.nordicsemi.com/thread/144942?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 12:33:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30267764-bac9-40db-b1d6-b77dcac1a2c5</guid><dc:creator>eduard</dc:creator><description>&lt;p&gt;Thank you, Kenneth. I feared that may be the case.&amp;nbsp;I guess I will try your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset / Clear hvn tx queue?</title><link>https://devzone.nordicsemi.com/thread/144937?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 12:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b23797a-922c-48c1-9a33-17836243975a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately there is no way to flush/clear buffered notifications.&lt;/p&gt;
&lt;p&gt;Have you considered instead do this on the application layer? For instance application write to a custom characteristic a command to enable and disable the peer from writing notifications? The CCCD will always be enabled, but the peer will only call&amp;nbsp;sd_ble_gatts_hvx() when the peer write 1 to a characteristic and stop when peer write 0. That way you will receive a few notification after disabling, however when enabling you will not receive any old notifications, since those have already been sent earlier.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>