<?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>Hardcoded connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105119/hardcoded-connection</link><description>What is the best strategy for connection between specific central and peripheral when both are powered up and then locking the connection so no more devices interfere?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Nov 2023 14:15:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105119/hardcoded-connection" /><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453766?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 14:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df6f5d84-8c0e-4a84-9895-2c295b3c5f83</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;If you have any further questions, please let me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are also welcome to open a new ticket if you have any more questions in the future.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453683?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 11:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eba2eadf-e59c-476e-a2bd-4f6223697363</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Also, as the nRF5 SDK is in maintenance mode,&amp;nbsp;&lt;strong&gt;support for new features beyond Bluetooth&amp;nbsp;LE 5 will not be added to the nRF5 SDK&lt;/strong&gt;&lt;span&gt;. For instance, Bluetooth Direction Finding, Bluetooth LE Audio, and so forth are not supported and will not be supported in the nRF5 SDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would suggest looking at the nRF Connect SDK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453679?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 11:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a756cc06-57ec-4dbe-aea8-43dcec40b889</guid><dc:creator>StanislavDimitrov</dc:creator><description>&lt;h5 class="svelte-1d9q8w9"&gt;fair enough&lt;/h5&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453678?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 11:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e79d3c6b-7386-445b-b503-04a3509b8584</guid><dc:creator>Joakim Jakobsen</dc:creator><description>[quote user="StanislavDimitrov"]By the way it is interesting that multi peripheral example is called experimenta[/quote]
&lt;p&gt;As Simon wrote in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52847/experimental-example-projects"&gt;this previous ticket&lt;/a&gt;:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The experimental libraries have undergone less testing, and have usually been out for a shorter amount of time, so the chance of discovering bugs will be larger although none of the libraries should be assumed to be completely free of bugs.&lt;/p&gt;
&lt;p&gt;All libraries and examples in the SDK, both experimental and not, are provided &amp;quot;as is&amp;quot;, so in the end, it is up to you to test your application sufficiently and confirm that it meets your requirements.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453672?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 10:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e08e6ab-8b1d-45fd-8b05-8ff46889959e</guid><dc:creator>StanislavDimitrov</dc:creator><description>&lt;p&gt;Thanks all clear. By the way it is interesting that multi peripheral example is called experimental :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453620?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 07:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9ece3fd-e7b7-4325-823b-b9803b21447d</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Yes, that is possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_multiperipheral.html"&gt;BLE Multiperipheral&lt;/a&gt; sample in the SDK that demonstrates&amp;nbsp;&lt;span&gt;how one Peripheral can connect to several Centrals.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;_____________&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453617?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 06:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b87f5829-11f3-4694-bf18-000bd53b432e</guid><dc:creator>StanislavDimitrov</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks. Is this also mean that&amp;nbsp;one peripheral can establish a connection with two or more central simultaneously?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453477?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 11:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42cef2d7-2908-4e82-9b0f-d81941582f91</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would highly recommend using the nRF Connect SDK for new designs and development.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF5 SDK is currently in maintenance mode (ref:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;&amp;nbsp;)&lt;/p&gt;
&lt;p&gt;If you have any trouble using the NCS, I would recommend that you open a new ticket explaining what you have problems with. We will do our best to assist you.&lt;/p&gt;
&lt;p&gt;_________&lt;/p&gt;
&lt;p&gt;What you describe should be achievable. You can add a scan filter so that your device only connects to certain devices that match the filter, either by name, address or UUID.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to use filters is demonstrated in the samples in the SDK. You can&amp;nbsp;also add your devices to the whitelist. There are several other configurations you can look at i.e&amp;nbsp;defining the maximum number of connections that is allowed etc.&amp;nbsp;&lt;br /&gt;I would suggest that you take a look at the samples available in the SDK and use the documentation to explore the different options you have.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Br,&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453412?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 05:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fce0dbb-21fb-4408-81b2-88047d9c0037</guid><dc:creator>StanislavDimitrov</dc:creator><description>&lt;p&gt;I am using&amp;nbsp;nRF5_SDK_17.0.2 and nRF52832. I tried the Zephyr framework, but there are some issues with the UART, and no problems so far with &lt;span&gt;nRF5_SDK_17.0.2.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/453389?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2023 22:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a257638-9ecb-4ae0-be73-0a7bccf4dae1</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;That should be possible.&lt;/p&gt;
&lt;p&gt;Could you share information about which SDK, device etc. you are working with here?&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/452915?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 03:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed263eff-3cb4-4066-a9ec-d15fd157c62a</guid><dc:creator>StanislavDimitrov</dc:creator><description>&lt;p&gt;Thank you, Joakim.&lt;/p&gt;
&lt;p&gt;Currently, we want to hardcore (in the firmware as configuration both in the peripheral and central devices) that peripheral P will connect only to Central C1, Central C2, and Central C3 (C2 and/or C3 may be not present in some cases). We do not want any interaction by the user (pressing the button, waiting for pairing), just when&amp;nbsp;&lt;span&gt;peripheral P and&amp;nbsp;Central C1 are powered up, they establish a connection, and no more connections (except C2 and C3 if powered up) are allowed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; I assume this is possible if the peripheral serves as a beacon, right? How to select (filter) data coming from a specific beacon then? Also assuring the &amp;quot;freshnes&amp;quot; of the data received from the beacon can be a challenge.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Or do we need to switch the option - one Central device and three peripherals?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardcoded connection</title><link>https://devzone.nordicsemi.com/thread/452900?ContentTypeID=1</link><pubDate>Sun, 29 Oct 2023 20:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04aa9d00-e9c2-442b-93b8-fa5469012708</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Maybe you could elaborate a little bit on your usecase here?&lt;/p&gt;
&lt;p&gt;But after you connect to your preferred device, you don&amp;#39;t have to start scanning for more devices. You can choose only to allow 1 connection. You can add your device to a whitelist etc.&lt;/p&gt;
&lt;p&gt;If you share some more information about your application or requirements, we can discuss further what could be the best way for you to solve this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>