<?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>Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20764/questions-about-ble-multirole-lesc</link><description>Hello, 
 I have few question please about this example. 
 
 m_lesc_private_key looks unused, how to modify source to use a pre shared private key ? 
 is this exemple secured (no one can connect without the right key, MITM proof and data encrypted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Mar 2017 11:46:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20764/questions-about-ble-multirole-lesc" /><item><title>RE: Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/thread/81073?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 11:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76b70f04-a890-458a-9493-eba8bc9f958b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;There are many different ways your device can recognize each others. Could be with the advertising device name.&lt;/p&gt;
&lt;p&gt;If you want to have some more secure, you can think of using a &amp;quot;password&amp;quot; type, where one can check if the other side has the password by sending a random value &amp;quot;nonce&amp;quot; and the one who enter the network will have to send an encrypted value base on that &amp;quot;nonce&amp;quot; and the common hardcoded password. The sender will check if the return encrypted value match with what it expects. If not, it can disconnect the connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/thread/81072?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 09:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba28bc86-b65c-439f-9036-486be91077c2</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;I do a self organized scatternet mesh (see at &lt;a href="http://fabiencomte.tumblr.com/"&gt;http://fabiencomte.tumblr.com/&lt;/a&gt; and fabiencomte.tumblr.com/.../voici-une-d&amp;#233;monstration-dune-visualisation-qui) for industrial application. A devices discover automatically other devices around and create connections. I want to limit scatternet access to trusted devices that&amp;#39;s why pre shared key looked interesting for me but if you can propose me something else i am interested.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/thread/81074?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2017 07:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db30d09-6391-4fcb-b517-86379627ab14</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes the key is unused because in our firmware it&amp;#39;s generated randomly. Bluetooth spec prohibit using pre-generated key pair unless you use DEBUG key for debugging purpose.&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand what exactly you want &amp;quot;I have a system that find devices around (not always the same) and i don&amp;#39;t need to save bounds. How can i do that ?&amp;quot;&lt;/p&gt;
&lt;p&gt;I assume you meant &amp;quot;save bonds&amp;quot;. If you don&amp;#39;t want to save bond, you can turn of bonding, only pairing will be used. Just set SEC_PARAMS_BOND = 0 in main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/thread/81071?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 19:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0399628f-60c5-44b7-b888-aa560242b84b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;I have seen this key but it looks unused ?&lt;/p&gt;
&lt;p&gt;I have a system that find devices around (not always the same) and i don&amp;#39;t need to save bounds. How can i do that ?&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about BLE multirole LESC</title><link>https://devzone.nordicsemi.com/thread/81070?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 13:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a84e6c15-f998-40cb-8903-45ec12d232fc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Using static private key is not supported by spec unless you use the DEBUG key , only for debugging purpose. It&amp;#39;s mentioned main.c in the example, please look for &amp;quot;LESC_DEBUG_MODE&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Maybe you got the wrong impression of what LE Secure Connection is. It&amp;#39;s a way to do bonding securely. Meaning exchanging a LTK to be used for encryption in a secure way. It&amp;#39;s not like you have a secret key and the peer need to have the same key to be able to connect. It&amp;#39;s like you have one random generated key and your peer has another random generated key, you use these 2 keys in a secured way to generate the common key. After that you use the common key to encrypt the link.
You can, however, to limit the connection to only bonded device, this way all devices that haven&amp;#39;t bond to you can not connect to your device.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&amp;quot;how can i avoid to store bounds ?&amp;quot; What do you mean ?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>