<?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>How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105810/how-to-manage-secure-conections-with-multiple-peripherals-from-a-central-in-nrf-connect-sdk</link><description>Hello people, 
 
 I&amp;#39;m trying to develop an application that consist of a central device and multiple peripherals conected to it simultaneously (if possible, if not, could be by turns) by secure connections to transfer some data. 
 So far I have developed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Nov 2023 14:33:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105810/how-to-manage-secure-conections-with-multiple-peripherals-from-a-central-in-nrf-connect-sdk" /><item><title>RE: How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/thread/458138?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 14:33:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d822fe5-ea9e-4035-adb6-13700636bbe3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It&amp;#39;s up to you which side you call&amp;nbsp;bt_conn_set_security().&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/thread/458078?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 12:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14530f43-d14a-4c10-b646-01bb51736a70</guid><dc:creator>alemarque</dc:creator><description>&lt;p&gt;Ok, Thank you.&lt;/p&gt;
&lt;p&gt;As I can see, this sample seems to be made for a peripheral. It would be usefull for a central too?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/thread/458036?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 10:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b604827-105a-45f9-8578-b72f4ec9b748</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Try:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7418.pastedimage1701253056161v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/thread/457908?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 14:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36ecc742-88ed-4823-9081-f79b37579157</guid><dc:creator>alemarque</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your suggestion and sorry for the delay.&lt;/p&gt;
&lt;p&gt;I was looking from the samples included with&amp;nbsp;the nRF connect SDK but&amp;nbsp;Sadly I can&amp;#39;t find any sample with&amp;nbsp;&lt;span&gt;BT_SECURITY_L4.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you could show me any sample or where to find it, I would appreciate it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to manage secure conections with multiple peripherals from a central in nRF connect SDK?</title><link>https://devzone.nordicsemi.com/thread/456445?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 14:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aba9ce49-4480-481f-a369-fb548cf068ac</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Look for central BT examples with the following:&amp;nbsp;&lt;span&gt;bt_conn_set_security&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;conn&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;BT_SECURITY_L4&lt;/span&gt;&lt;span&gt;). From the documentaiton you can find:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;/** Security level. */
typedef enum __packed {
	/** Level 0: Only for BR/EDR special cases, like SDP */
	BT_SECURITY_L0,
	/** Level 1: No encryption and no authentication. */
	BT_SECURITY_L1,
	/** Level 2: Encryption and no authentication (no MITM). */
	BT_SECURITY_L2,
	/** Level 3: Encryption and authentication (MITM). */
	BT_SECURITY_L3,
	/** Level 4: Authenticated Secure Connections and 128-bit key. */
	BT_SECURITY_L4,
	/** Bit to force new pairing procedure, bit-wise OR with requested
	 *  security level.
	 */
	BT_SECURITY_FORCE_PAIR = BIT(7),
} bt_security_t;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>