<?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 reset NUS RX Characteristic?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11347/how-to-reset-nus-rx-characteristic</link><description>Dear developers, 
 Currently, I&amp;#39;m developing a new application that uses Nordic Uart Service (NUS) over BLE. 
 Everything is working fine. However, I would like reset (delete) contents in NUS Rx Characteristic (UUID: 0x6E400002-B....) on every disconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2016 16:11:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11347/how-to-reset-nus-rx-characteristic" /><item><title>RE: How to reset NUS RX Characteristic?</title><link>https://devzone.nordicsemi.com/thread/42723?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 16:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1349a9d1-b337-4cb6-bf5b-394313667479</guid><dc:creator>Carlos S&amp;#225;nchez</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Yes, you were right.  Now the characterisitcs are deleted properlly.&lt;/p&gt;
&lt;p&gt;Thank you very much :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset NUS RX Characteristic?</title><link>https://devzone.nordicsemi.com/thread/42722?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 11:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64b4168-89af-4b99-8d81-e58bdc1471d3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Carlos,&lt;/p&gt;
&lt;p&gt;You can simply set the value of the characteristic to zero when you receive the DISCONNECTED event (BLE_GAP_EVT_DISCONNECTED) or when you connected, both are fine.&lt;/p&gt;
&lt;p&gt;To set the value of a characteristic, use sd_ble_gatts_value_set()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>