<?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 get Handle of CCCD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14915/how-to-get-handle-of-cccd</link><description>Hello, 
 I have build a gatt server device and my application is setup following the tutorials, which are really helpful by the way. 
 Now I want to check if the notifications are enabled or not. After search in the dev zone I found that i must use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 Jul 2016 14:00:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14915/how-to-get-handle-of-cccd" /><item><title>RE: How to get Handle of CCCD</title><link>https://devzone.nordicsemi.com/thread/56925?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2016 14:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:281fa9f1-c623-4f9f-8fc5-4a854cfb5801</guid><dc:creator>Panos</dc:creator><description>&lt;p&gt;Thank you very much! I feel so dumb now that i have wasted so many hours searching for this and could not find it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get Handle of CCCD</title><link>https://devzone.nordicsemi.com/thread/56924?ContentTypeID=1</link><pubDate>Sat, 02 Jul 2016 12:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a629421-2c40-4fac-8060-1b2f77840b0a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It&amp;#39;s per-characteristic - so it&amp;#39;s one of the handles returned when you add the characteristic with &lt;code&gt;sd_ble_gatts_characteristic_add&lt;/code&gt;. See the &lt;code&gt;ble_gatts_char_handles_t structure&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Normally you use the event which tells you a handle has been written to capture the write to the CCCD instead of reading it later, however you still need the handle for that so you still need to know where to find it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>