<?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>Disable CCC attribute changed callback in the running time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120809/disable-ccc-attribute-changed-callback-in-the-running-time</link><description>Hello, 
 I am using nRF54l15 and nRF Connect SDK v2.9.0 
 I need to know if there is any way to disable the cfg_changed callback at runtime. I want it to be called in case the CCC changes, except when a change happens because of a disconnection.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Apr 2025 11:55:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120809/disable-ccc-attribute-changed-callback-in-the-running-time" /><item><title>RE: Disable CCC attribute changed callback in the running time</title><link>https://devzone.nordicsemi.com/thread/532327?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 11:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365dd8ba-dca9-4e28-90b9-3cfd9381df01</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t see any APIs to disable the callback at runtime, but you could maybe implement a flag in your application that you set when a disconnection occurs and check this flag in your&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;cfg_changed&lt;/code&gt;&lt;span&gt;&amp;nbsp;callback&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>