<?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>s110 v7 bonding explained?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3343/s110-v7-bonding-explained</link><description>Hi! 
 Could I find somewhere (I was trying in Nordic docs and in previous posts but everything refers to previous versions of softdevice) how to perform bonding with key and restrict access to characteristics? 
 Cheers,
Patriko</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2014 10:42:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3343/s110-v7-bonding-explained" /><item><title>RE: s110 v7 bonding explained?</title><link>https://devzone.nordicsemi.com/thread/12175?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 10:42:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f42051-8945-46f5-add8-3cf79bcd871f</guid><dc:creator>Patriko</dc:creator><description>&lt;p&gt;Ok, but how to set PIN code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: s110 v7 bonding explained?</title><link>https://devzone.nordicsemi.com/thread/12174?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 09:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c8dba35-6396-4604-8575-800eadd25fc8</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The message sequence charts for the different types of bonding  can be found &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.0.0/s110/html/a00814.html"&gt;here&lt;/a&gt; (S110 - peripheral).
If you want to set a static pin, you can take a look at the message sequence chart
&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.0.0/s110/html/a00824.html"&gt;GAP Security Establishment using stored keys&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The access/permissions for the characteristics are set independently of the bonding; they are set with BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS, BLE_GAP_CONN_SEC_MODE_SET_OPEN, BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM, etc.&lt;/p&gt;
&lt;p&gt;Example: &lt;code&gt;BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.write_perm);&lt;/code&gt;sets the security level for the write permission of a given characteristic to &amp;quot;open&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>