<?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 I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3287/can-i-enable-notification-in-my-ble-peripheral</link><description>How to enable the notifications or indications? In APP? can I enable it in ble peripheral?
I meet a chip of &amp;quot;Quintic&amp;quot; can do this. When I connect it to MCP and I get this:
 
 But my nordic nrf51822 device connect MPC just like this: 
 
I must click</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jul 2014 18:32:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3287/can-i-enable-notification-in-my-ble-peripheral" /><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11995?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 18:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a3fea0f-0583-4f8a-aa58-1233a2e4391d</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;If you have previously enabled notifications and bonded, the Quintic device will have to remember the state of the CCCD. You need to look into the device manager in thr SDK or the sys_attr_set() and get() functions to replicate this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11994?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 06:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a5c282-f873-4ca5-b204-b6a681fc0515</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Are you sure MCP will not automaticanlly enable notification?
In the first picture ,&amp;quot;Quintic&amp;quot;  device is enable notification by MCP just when I select the device without click &amp;quot;enable services&amp;quot; botton, that why I confused. And I need to implement this func in my nrf51822 device. But always failure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11993?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 04:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4ff6dd7-352c-4311-bf1d-e8daa9fcb794</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Enabling/disabling for notifications and indications is strictly done from the peer device using a GATT Write operation. If the two devices are bonded, they are required to retain the CCCD state between connections. The default value should always be 0, i.e. no indications or notifications allowed.&lt;/p&gt;
&lt;p&gt;The Master Control Panel does not automatically write to CCCDs unless you click the &amp;quot;enable services&amp;quot;-button or manually write e.g. 01-00 to the descriptor. A peer device that is interested in consuming the data would, on the other hand, automatically write to the descriptor to start getting data flowing. The MCP in general will not do much unless you specifically click certain buttons, so it is strictly for testing and debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11992?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 03:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80a97c2b-9cc4-4564-8a1d-19e820d2adeb</guid><dc:creator>scytulip</dc:creator><description>&lt;p&gt;I read ble_hrs.c. In &amp;quot;on_hrm_cccd_write&amp;quot; function, only a flag is set/unset. There&amp;#39;s no code for stopping transmission. So I think this service keeps on sending data even the notification is turned off. Disabling/enabling service is done by the Android App?&lt;/p&gt;
&lt;p&gt;You can check the code of MPC or nRF Toolbox to confirm that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11991?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 03:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab461da7-05ae-4b70-8259-93b0c94de6f4</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Handle the client characteristic in nrf51822 device or in Android APP?
I am so confused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I enable notification in my ble peripheral?</title><link>https://devzone.nordicsemi.com/thread/11990?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 01:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92268bc6-ec74-4f12-8647-5e50f9001093</guid><dc:creator>scytulip</dc:creator><description>&lt;p&gt;MPC&amp;#39;s &amp;quot;Enable Service&amp;quot; just works for test purpose.&lt;/p&gt;
&lt;p&gt;Your service is enabled automatically when it connects to your cellphone, If you&amp;#39;re using those BLE service API written by NordicSemi, such as ble_hrs.h, ble_bas.h, ble_dis.h, etc.&lt;/p&gt;
&lt;p&gt;However, if you&amp;#39;re writing your own service, you should handle the client characteristic configuration event correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>