<?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>Changing characteristic security mode on the fly?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9308/changing-characteristic-security-mode-on-the-fly</link><description>Is it possible to change a characteristic&amp;#39;s security mode after it&amp;#39;s already been added with sd_ble_gatts_characteristic_add()? 
 I&amp;#39;d like to be able to switch back and forth between &amp;quot;BLE_GAP_CONN_SEC_MODE_SET_OPEN&amp;quot; and
&amp;quot;BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Sep 2015 18:28:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9308/changing-characteristic-security-mode-on-the-fly" /><item><title>RE: Changing characteristic security mode on the fly?</title><link>https://devzone.nordicsemi.com/thread/34361?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2015 18:28:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd7b1d22-5a3b-4d1c-8883-8675a49067a1</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;That&amp;#39;s what I thought. I really only need to do it once and will handle it by resetting the entire device. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing characteristic security mode on the fly?</title><link>https://devzone.nordicsemi.com/thread/34360?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2015 12:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1a87d3b-1cd0-44f1-ac58-2ae1c0d944e2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;No, it&amp;#39;s not possible.&lt;/p&gt;
&lt;p&gt;If you want to change the permission of a characteristic (or modify any properties), you would need to disable the softdevice and reinitialize the whole attribute table (all services and characteristics)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>