<?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>Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6775/notify---not-updating-in-mcp</link><description>I&amp;#39;m running: SDK 7.1, PCA10028 eval board, SD310 2.0.1, MCP 3.8.0.7 
 I&amp;#39;m trying to get Notifications to work. I have two attributes. I write to one and have it update the value of the second, which then is set to Notify the Central (in this case Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Oct 2016 11:14:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6775/notify---not-updating-in-mcp" /><item><title>RE: Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/thread/23802?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 11:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:288c8d11-f345-497f-9d8a-2bc9faba345a</guid><dc:creator>KnightYusuf</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;ve the same problem&lt;/p&gt;
&lt;p&gt;How do you check that the conn_handle is pointing to the correct handle?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/thread/23801?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 15:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03020790-e419-4571-b7c4-a0a80f018c95</guid><dc:creator>c cook</dc:creator><description>&lt;p&gt;p_blinds-&amp;gt;conn_handle was pointing to the wrong handle.  Now it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/thread/23805?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 12:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e78a1f3-ade7-4721-8a1f-7f75acd81bed</guid><dc:creator>c cook</dc:creator><description>&lt;p&gt;My code to initialize cccd_md:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.read_perm);
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.write_perm);
cccd_md.vloc = BLE_GATTS_VLOC_STACK;

memset(&amp;amp;char_md, 0, sizeof(char_md));
char_md.char_props.notify 	 = 1;
char_md.char_props.write  	 = 1;
char_md.char_props.write_wo_resp = 1;
char_md.char_user_desc_max_size  = sizeof(&amp;quot;Batt&amp;quot;);
char_md.char_user_desc_size 	 = sizeof(&amp;quot;Batt&amp;quot;);
char_md.p_char_user_desc    	 = (uint8_t *)char_user_desc;
char_md.p_char_pf         	 = NULL;
char_md.p_user_desc_md    	 = NULL;
char_md.p_cccd_md         	 = &amp;amp;cccd_md;
char_md.p_sccd_md         	 = NULL;

ble_uuid.type = p_blinds-&amp;gt;uuid_type;
ble_uuid.uuid = PWR_BATT_CAP_UUID;

memset(&amp;amp;attr_md, 0, sizeof(attr_md));
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/thread/23804?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 12:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d66fe512-121a-4dcf-bdc7-e2a99d2bddf1</guid><dc:creator>c cook</dc:creator><description>&lt;p&gt;Stian -
Did you enable notifications in MCP? - Yes, I&amp;#39;ve written to the CCCD handle manually, and used the MCP&amp;#39;s Enable Services Button.  MCP shows: CharacteristicConfigurationsBits: Notification (0x0001)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notify - Not updating in MCP</title><link>https://devzone.nordicsemi.com/thread/23803?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 09:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20411227-16d4-4e7b-869e-b8185d688401</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Did you enable notifications in MCP? You need to write 0x0001 to the CCCD handle.&lt;/p&gt;
&lt;p&gt;How did you initialize the cccd_md variable? Something like this?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_gatts_attr_md_t cccd_md;
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.read_perm);
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.write_perm);
cccd_md.vloc = BLE_GATTS_VLOC_STACK;
cccd_md.rd_auth = 0;
cccd_md.wr_auth = 0;
cccd_md.vlen    = 1;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>