<?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>Should CCCD value be reset to 0 on connection?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/915/should-cccd-value-be-reset-to-0-on-connection</link><description>Hi
Do the latest sample apps (for example, Heart Rate) which do not required bonding behave as follows:- 
 
 make connection from iphone 
 enable notification 
 check value of cccd is 1 
 drop connection 
 immediately make connection from iphone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Nov 2013 09:59:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/915/should-cccd-value-be-reset-to-0-on-connection" /><item><title>RE: Should CCCD value be reset to 0 on connection?</title><link>https://devzone.nordicsemi.com/thread/4428?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2013 09:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f048fa0a-3391-4b4b-945a-298acbc3c100</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Have you tested this with the Master Control Panel as well? I&amp;#39;m not able to see this problem when using MCP 3.5.0 with ble_app_hrs from SDK 4.4.2, and I&amp;#39;m also not quite sure I see how this would happen.&lt;/p&gt;
&lt;p&gt;When the CCCD values are needed by the softdevice, it is expected to give the application a BLE_GATTS_EVT_SYS_ATTR_MISSING event, to which the application should reply by doing a sd_ble_gatts_sys_attr_set() function call, potentially giving back a set of previously set values. However, when not being bonded, it is expected to just pass NULL for the pointer, to reset the values.&lt;/p&gt;
&lt;p&gt;This should be handled as needed by the bond manager in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>