<?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>BLE_GAP_CONN_SEC_MODE_SET</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16972/ble_gap_conn_sec_mode_set</link><description>Given this answer , do the BLE_GAP_CONN_SEC_MODE_SET family of macros only relate to the Write permissions of the device name? 
 Maybe a better way to ask this is: Is it just incidental that the only characteristic that has adjustable permissions in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Oct 2016 07:29:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16972/ble_gap_conn_sec_mode_set" /><item><title>RE: BLE_GAP_CONN_SEC_MODE_SET</title><link>https://devzone.nordicsemi.com/thread/65107?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2016 07:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6507eef-fe06-4636-b841-37e2db393671</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The BLE_GAP_CONN_SEC_MODE_SET_xxx macros are, according to their documentation, GAP attribute security requirement setters, see ble_gap.h. The macros can be used to set the read and write permissions on attribute properties. In ble_app_hrs --&amp;gt; battery service, the client is not allowed to write battery level characteristic, and it is set the following way: &lt;code&gt;BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;attr_md.write_perm);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;In the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v3.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;cp=2_3_0_1_0_2_1_2_15&amp;amp;anchor=gae779f7eed346027dc4cbaf438352e5db"&gt;sd_ble_gap_device_name_set(..)&lt;/a&gt; documentation it is specified that the first parameter is the write permissions for the device name. And hence, setting &lt;code&gt;BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;sec_mode);&lt;/code&gt;will set the write permissions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>