<?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>About BLE security and static pass key</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39870/about-ble-security-and-static-pass-key</link><description>Hi Nordic, 
 
 I am using SDK 12.3.0, S130 2.0.1 and PCA10028 nrf51 DK. 
 I would like to ask some questions about BLE security setting. 
 1. If I want to enable LE secure connections (just work), all I need to do is to set SEC_PARAM_LESC to 1 if both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Nov 2018 12:43:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39870/about-ble-security-and-static-pass-key" /><item><title>RE: About BLE security and static pass key</title><link>https://devzone.nordicsemi.com/thread/155751?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 12:43:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7510c8e0-7a02-44b0-a891-dfd4d550a240</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Yes, setting SEC_PARAM_LESC to 1 enables LESC in the examples. LESC is then handled by the libraries.&lt;/p&gt;
&lt;p&gt;2./3. Yes, you can use static passkey, by hard coding a passkey. Vidar Berg provided a recent example in the thread &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39600/static-passkey-implementation-in-central-code"&gt;static passkey implementation in Central role&lt;/a&gt;. Although for an example not present in SDK 12.3, the change log contains all required changes and they should work correspondingly for SDK 12 examples. (This part of the SoftDevice and SDK API has barely changed since. The log configuration changes from UART to RTT can be ignored.) Let me know if you meet any issues.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>