<?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>Dynamic notification change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48787/dynamic-notification-change</link><description>Hi all 
 I am using a nRF52840 with SDK 15.3.0 and s140_nrf52_6.1.1 soft device. 
 My application is a multi-peripheral device that has a common service, each peripheral can have different characteristic read/write permissions for this service. There</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 13:21:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48787/dynamic-notification-change" /><item><title>RE: Dynamic notification change</title><link>https://devzone.nordicsemi.com/thread/196569?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 13:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0fd785c-9f62-4007-9965-a79c3ea7eb10</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Yes, you would have to do something similar as &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/646/notification-enabled-by-event-or-poll"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic notification change</title><link>https://devzone.nordicsemi.com/thread/195524?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 07:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c506dc-7911-42d0-9a66-de5f4e83b54c</guid><dc:creator>klabs</dc:creator><description>&lt;p&gt;Thanks for your reply Jared.&lt;/p&gt;
&lt;p&gt;If the user has no read permissions I&amp;#39;m returning&amp;nbsp;BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED from&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST when the user tries to read the characteristic, which works fine, but as already mentioned a user can still enable notifications.&amp;nbsp;Is it possible to return an error like&amp;nbsp;BLE_GATT_STATUS_ATTERR_WRITE_NOT_PERMITTED&amp;nbsp;&lt;span&gt;from&amp;nbsp;BLE_GATTS_EVT_WRITE when a user tries to enable notifications? Or could there be another way?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic notification change</title><link>https://devzone.nordicsemi.com/thread/194908?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 13:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21fc2594-9e9d-408c-aa4e-18cac582d007</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, there isn&amp;#39;t any API for changing the notification bit in the CCCD before a connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>