<?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>Can&amp;#39;t SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19609/can-t-softdevice-recognize-cccd</link><description>I coded following 
 BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;cccd_md.read_perm); 
 BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;cccd_md.write_perm); 
 char_md.char_props.notify = 1; 
 char_md.p_cccd_md = &amp;amp;cccd; 
 and deleted everything that check m_nus.is_notification_enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2017 01:25:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19609/can-t-softdevice-recognize-cccd" /><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76312?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 01:25:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6bd2ac-1011-49b5-a9fb-73736b4b9bfb</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;Thank you. It&amp;#39;s very useful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76311?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 20:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85aa3d33-277a-4a69-b63f-dc1010b80307</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, a CCCD is an attribute, but because setting it manually breaks the spec, it is not possible to do so. &lt;a href="https://devzone.nordicsemi.com/question/103066/sd_ble_gatts_value_set-for-setting-directly-cccd-value/?answer=103165#post-id-103165"&gt;This&lt;/a&gt; thread explains it a little more thoroughly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76307?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 11:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20f26a24-4826-45ee-a640-7cb897d9740d</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;But I heard descriptor(including CCCD) is also attribute, isn&amp;#39;t it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76306?ContentTypeID=1</link><pubDate>Mon, 13 Feb 2017 09:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32cc2ee7-730c-41b7-a925-289a6685e6c0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;sd_ble_gatts_value_set() is used to set the value of the attribute. Notification/CCCD is a part of the properties of the attribute.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76310?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 14:40:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:228d9297-f662-4339-b918-715befa1fd47</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;So why does sd_ble_gatts_value_set() exist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76309?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 14:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5b07c37-a8bd-4479-bf34-e0efb30d277e</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;If a server is able to enable notifications by itself, it will break the Bluetooth Core Specification. Therefore, I doubt that it is possible to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76308?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 13:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d53e35c3-d0d1-4a26-a3ce-8b0eaea7c024</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;So how can I change cccd value in server altough it is designated for client originally ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't SoftDevice recognize cccd?</title><link>https://devzone.nordicsemi.com/thread/76305?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 12:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2f6065b-4eea-414c-8cc9-14d91f43eadc</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The purpose of the code knowing if the notifications are enabled or not, is for the application to know its current state. If trying to transmit a notification when notifications aren&amp;#39;t enabled, sd_ble_gatts_hvx(..) will return NRF_ERROR_INVALID_STATE. The example ble_app_hrs is an example that doesn&amp;#39;t know its current state: As long as there is a connection, it will try to update the heart rate measurement values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>