<?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>GETTING NOTIFICATION ON SAME CHARACTERISTIC [ LED handler]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73518/getting-notification-on-same-characteristic-led-handler</link><description>Hello , 
 NRF52840 
 sdk 15.2 
 In my application using ble central example in nrf52840 , i am able to write data in led characteristics and getting notification on HVX using Button cccd handle and now i m trying to get notification data on led handle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 15:17:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73518/getting-notification-on-same-characteristic-led-handler" /><item><title>RE: GETTING NOTIFICATION ON SAME CHARACTERISTIC [ LED handler]</title><link>https://devzone.nordicsemi.com/thread/303255?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 15:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d0983f0-f303-43dc-a3f1-13a010bece3c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sowmiya,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please show what exactly you modified to enable notification on the LED characteristic. We can&amp;#39;t look into you full code to find what you modified.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I know you just need to enable notification when you declare the characteristic in&amp;nbsp;ble_lbs_init() , so if you have&amp;nbsp;&amp;nbsp; &amp;nbsp;add_char_params.char_props.notify = 1; in the characteristic you add, it will be able to send notification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that when you call the sd_ble_gatts_hvx() function, you need to set the handle to the handle of the LED characteristic instead of the button characteristic.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>