<?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>Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83293/softdevice-whitelist-issues</link><description>We are attempting to deploy a system consisting of one nRF52840 devkit running the multi-NUS example app, and over a dozen custom boards based on the nRF52832. It all works fine at my facility, which is very much RF-quiet. When attempting to bring up</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 00:52:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83293/softdevice-whitelist-issues" /><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/347035?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 00:52:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ca4c11-020b-4774-91a8-e849ac074664</guid><dc:creator>Jimmywong2003</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can find some examples which I did on the whitelist at central and peripheral role.&lt;/p&gt;
&lt;p&gt;Both examples are not using bonding.&amp;nbsp; Just the MAC address on whitelist table.&lt;/p&gt;
&lt;p&gt;Peripheral Role&lt;/p&gt;
&lt;p&gt;&lt;a href="https://jimmywongiot.com/2021/01/05/ble-scan-request-filter-demo/"&gt;jimmywongiot.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Central Role&lt;/p&gt;
&lt;p&gt;&lt;a href="https://jimmywongiot.com/2019/10/18/ble-scanning-with-whitelist/"&gt;jimmywongiot.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jimmy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/347029?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 23:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0c17f57-0554-45c8-b81f-6b4f89afb337</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;I&amp;#39;m now back from my trip to the customer site and getting caught up on emails. It appears the problem was repeated collisions due to the amount of traffic and update interval. I fixed it for the upcoming demo by extending the update interval and randomizing it so any two units don&amp;#39;t repeatedly collide with one another. Thank you very much for all the help, and the reminder that I need to download and learn about the new nRF Connect SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346680?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 11:33:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f55a7d80-f7bf-4aaa-9ac6-8fb1ab7579d1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;I see now that you have references to Zephyr (so nRF Connect SDK), but earlier in this thread you have made references to SoftDevice and nRF5 SDK Code. Do you use the nRF5 SDK for the peripherals and the nRF Connect SDK for the central? That in itself is no problem, I just want to get a better understanding. With &amp;quot;Multi NUS&amp;quot;, are you referring to &lt;a href="https://github.com/NordicMatt/multi-NUS"&gt;this project&lt;/a&gt; from this &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/enter-the-multi-nus-a-simple-wireless-uart-network"&gt;blog post&lt;/a&gt;? Is this your central?&lt;/p&gt;
[quote user="SteveHx"]&lt;p&gt;I have discovered that the 52840 multi-NUS randomly throws an error and reboots:&lt;/p&gt;
&lt;p&gt;ASSERTION FAIL [conn] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/gatt.c:4437&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; invalid parameters&lt;/p&gt;[/quote]
&lt;p&gt;Which nRF Connect SDK version are you using? based on the assert line number I am guessing 1.6.x, so I will assume that for now.&lt;/p&gt;
&lt;p&gt;The assert in&amp;nbsp;&lt;span&gt;zephyr/subsys/bluetooth/host/gatt.c:4437 is checking that the first parameter (struct bt_conn *conn) is not NULL, so as you get this assert it means you passed NULL / 0 to the call to&amp;nbsp;bt_gatt_subscribe() for some reason. You need to review and/or debug your application to se how this can happen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is clearly a bug you see here, but there could also be other issues. As you use as may as 15-20 peripheral connected to a single central, that means it must handle and find time to a lot of concurrent connections (in addition to scanning). Which connection parameters do you use? That is essential here with so many devices. You typically need long connection intervals and short event lengths to get this working. You probably also want a long supervision timeout.&lt;/span&gt;&lt;/p&gt;
[quote user="SteveHx"]We also need a way, either by modifying the source code, or thru the USB link, to cause multi-NUS to periodically rescan for units that may have been missed.[/quote]
&lt;p&gt;Looking at the multi NUS code from the blog, I see that it generally always scans except for during service discovery, so you should not need to explicitly start it. If you want to, you can add code for that, but there is no code in the example I am looking at that lets you control this from USB or UART, so you must add that (and decide how you want it to work).&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346566?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 21:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11c247c9-246a-45a3-973a-48681af9386b</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;I am now at the client site (long day so far). Still having problems maintaining reliable connections between multi-NUS on the 52840 DK board, and about 15-20 user application devices running 52832 with a custom application derived from the UART sample app. I have discovered that the 52840 multi-NUS randomly throws an error and reboots:&lt;/p&gt;
&lt;p&gt;ASSERTION FAIL [conn] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/gatt.c:4437&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; invalid parameters&lt;/p&gt;
&lt;p&gt;The multi-NUS then reboots, but of course takes time to reestablish all the connections.&lt;/p&gt;
&lt;p&gt;We also need a way, either by modifying the source code, or thru the USB link, to cause multi-NUS to periodically rescan for units that may have been missed.&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;Steve Hendrix&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346354?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 07:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afa240b2-3ec1-484e-8a5b-5718fcd9a149</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
[quote user="SteveHx"] We are still having a problem with peripherals disappearing from multi-NUS, and struggling to find any commonality to the disappearances. At this time the evidence is starting to suggest that the problem is not the Peripheral being grabbed by a different Central[/quote]
&lt;p&gt;I see. What data do you have of what is actually happening? Do you have logging on the peripheral side? If you for instance log whenever a connection is established including the address of the peer and when connections are closed,&amp;nbsp;that should be quite useful. Perhaps something completely different is happening, and if so adding a bit of logging here and there might show some unexpected things.&lt;/p&gt;
[quote user="SteveHx"]I presumed I could changed those numbers to 2 to allow two simultaneous connections. That leads to another of those mysterious breakpoints with no information as to what happened. Based on past experience, I tried increasing the RAM available to the softdevice by 512 bytes. No joy; those two parameters must be set to 1. How are those to be used?[/quote]
&lt;p&gt;You need to increase the RAM reserved for the SoftDevice (so use a higher application RAM start address and lower size). But there is nothing in the description of your application that indicate that you need to support more concurrent connections on the peripherals? Also, for this to be useful (if it was relevant), you would have to adjust your application to actually handle multiple connections.&lt;/p&gt;
[quote user="SteveHx"]2) In main.c, cp_init.disconnect_on_fail is set to false in the provided example. At some time in the past, I experimentally changed it to true and left it that way. Could that be a cause of failures to connect or reconnect?[/quote]
&lt;p&gt;That could be. I suggest you add logging to see what the disconnect reason is. If the connection parameter module disconnects because of this you should get the&amp;nbsp;BLE_HCI_CONN_INTERVAL_UNACCEPTABLE (0x3B) disconnect reason.&lt;/p&gt;
[quote user="SteveHx"]&lt;p&gt;3) Near the top of main.c are several parameters defined that I don&amp;#39;t understand, that may or may not be relevant to my immediate problem.&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;SLAVE_LATENCY&lt;/p&gt;
&lt;p&gt;CONN_SUP_TIMEOUT&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find any concise explanation of these and how they may or may not be relevant to my immediate problem.&lt;/p&gt;[/quote]
&lt;p&gt;These are the connection parameters, which are the most essential parameters of a Bluetooth connection. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28058/what-is-connection-parameters/110496#110496"&gt;this old post&lt;/a&gt;. As you control both the central and peripheral side here, you should simply configure the same connection parameters on both sides and this will just work. What connection parameters you should use are application specific (which latency, throughput, timeout fits your specific application?). As you have multiple connections on the central side you should not be too aggressive here, as the central needs to be able to schedule and fit all it&amp;#39;s connections.&lt;/p&gt;
[quote user="SteveHx"]5) Any other suggestions for more reliable connections / reconnections?[/quote]
&lt;p&gt;I understand you are short on time, but I would say that you need to first debug and analyze to understand what actually happens. Once that is clear, fixing the problem should be much easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346315?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 23:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5be161-2533-401d-b7c8-d97926490262</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Have to mention the obvious issue having been caught by this before, in case you didn&amp;#39;t consider it; what are these two values set at?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define APP_ADV_INTERVAL  (244)  /**&amp;lt; The advertising interval (in units of 0.625 ms. This value corresponds to 152.5 ms). */
#define APP_ADV_DURATION  3000   /**&amp;lt; The advertising duration (30 seconds) in units of 10 milliseconds. 0 == forever */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In a BLE-noisy (well, 2.4GHz noisy) environment, a slow advertising interval of (say) 1 second is never going to successfully connect and if a default stop-after-trying 30 second timer is active (Nordic default) the peripheral will simply disappear after 30 seconds, or whatever that timer is set to. Best to advertise until end-of-time (== battery exhausted) and more frequently than once-per-second..&lt;/p&gt;
&lt;p&gt;Edit: if you are using Zephyr the definitions above will be set differently, no idea how; these are for nRF52 SDK usage&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346310?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 21:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a52217-d7f5-4334-981d-3ead2cc09db1</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;I really need to explore all the info you gave me on whitelisting more thoroughly, but at the moment I&amp;#39;m shifting to panic mode as I am to fly to NJ tomorrow morning with my equipment and able to set up the demo for my client. We are still having a problem with peripherals disappearing from multi-NUS, and struggling to find any commonality to the disappearances. At this time the evidence is starting to suggest that the problem is not the Peripheral being grabbed by a different Central, so whitelisting isn&amp;#39;t going to help that. But I&amp;#39;ve been poking around and trying to better understand the BLE stack, and came up with a number of questions:&lt;/p&gt;
&lt;p&gt;1) You indicated that S112 should be able to handle 4 simultaneous connections. Looking at these two lines from sdk_config.h&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 1&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_BLE_TOTAL_LINK_COUNT 1&lt;/p&gt;
&lt;p&gt;I presumed I could changed those numbers to 2 to allow two simultaneous connections. That leads to another of those mysterious breakpoints with no information as to what happened. Based on past experience, I tried increasing the RAM available to the softdevice by 512 bytes. No joy; those two parameters must be set to 1. How are those to be used?&lt;/p&gt;
&lt;p&gt;2) In main.c, cp_init.disconnect_on_fail is set to false in the provided example. At some time in the past, I experimentally changed it to true and left it that way. Could that be a cause of failures to connect or reconnect?&lt;/p&gt;
&lt;p&gt;3) Near the top of main.c are several parameters defined that I don&amp;#39;t understand, that may or may not be relevant to my immediate problem.&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL&lt;/p&gt;
&lt;p&gt;SLAVE_LATENCY&lt;/p&gt;
&lt;p&gt;CONN_SUP_TIMEOUT&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find any concise explanation of these and how they may or may not be relevant to my immediate problem.&lt;/p&gt;
&lt;p&gt;4) My application has a basic &amp;quot;heartbeat&amp;quot; at 5 seconds, at which interval it checks for incoming commands from the multi-NUS, and sends out a status report of a couple dozen ASCII characters. Could this interval interact in bad ways with anything in the BLE stack?&lt;/p&gt;
&lt;p&gt;5) Any other suggestions for more reliable connections / reconnections?&lt;/p&gt;
&lt;p&gt;Help! I&amp;#39;m going to see my client in the morning.&lt;/p&gt;
&lt;p&gt;Steve Hendrix&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346213?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 13:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:242b6945-4fc1-4de1-a200-78d4b6e167f1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There are a few peripheral examples that use whitelisting. In that case, they use whitelisting after having established a bond, and the whitelist is populated with bonded device(s). See for instance the implementation in&amp;nbsp;examples\ble_peripheral\ble_app_hids_mouse\main.c.&lt;/p&gt;
&lt;p&gt;The most important thing to note is that&amp;nbsp;ble_adv_whitelist_enabled is set to true in the configuration struct that is passed to&amp;nbsp;ble_advertising_init(), and the handling of the&amp;nbsp;BLE_ADV_EVT_WHITELIST_REQUEST event. There, the whitelist is provided to the SoftDevice upon request. Here it comes from the peer manager, but you could also build a list of addresses for non-bonded device(s) if that fits your use case better.&lt;/p&gt;
[quote user="SteveHx"]If possible I would like to also allow connections to nRF Connect running on either an Android or an iPhone.[/quote]
&lt;p&gt;To do so, if that should be any device, and not some you have paired with before, you would need to exchange the IRK (as phones use a resolvable random address for privacy reasons), which is done through pairing. So you would typically need a way to temporarily disable whitelisting, like is commonly done on HID devices with a special button. After that, you could include also the phone in the whitelist (again, just as HID devices normally do, including the mouse example - search for ble_advertising_restart_without_whitelist()).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346182?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 12:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19dee5c7-dfb6-4a4c-b878-acc9376b5df3</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;Okay, whitelisting it is. but I can&amp;#39;t find any reference as to how to enable whitelisting. I expected to find a flag of some sort in sdk_config.h; no joy. A global search of the project (which was based on the ble_peripheral uart example) turns up a dozen or so hits but nothing that shows how to set it up. For this specific project (I can generalize later) I need to allow connecting only to the multi-NUS example running on the Nordic 52840 devkit. If possible I would like to also allow connections to nRF Connect running on either an Android or an iPhone. Can you point me to a place to start?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/346090?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 09:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:952d3d29-6de2-416c-b615-c00ed783d7ed</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="SteveHx"]After some further reading, I&amp;#39;m seeing that my understanding of the whitelist may be inverted. If I&amp;#39;m reading correctly now, the whitelist is a list in the Central end, that defines what Peripheral units can connect. That doesn&amp;#39;t address our present issue. [/quote]
&lt;p&gt;That is not the case. The whitelist concept is available both for the central and peripheral roles. If a peripheral use whitelisting (which is what is relevant here), connections from a non-whitelisted central are ignored by the Bluetooth stack, and it is not able to connect.&lt;/p&gt;
[quote user="SteveHx"]Is the whitelist the wrong mechanism here?[/quote]
&lt;p&gt;Whitelisting is the normal way to solve this problem, though I do not have a full overview of your use case so there may be factors that makes another approach more sensible.&lt;/p&gt;
[quote user="SteveHx"]I could picture a mechanism by which our Peripheral expects to immediately receive some special command upon connecting, and if that command is not forthcoming, immediately disconnects and resumes advertising.[/quote]
&lt;p&gt;You can do that, but it would be more complex and involve more processing than if you use whitelisting (where the connection request is ignored and so as little processing as possible is used).&lt;/p&gt;
&lt;p&gt;I am not sure about how you do things in practice. Will you pair up the central and peripherals in production? If so,&amp;nbsp;you could either pair the devices in the factory, or simply write the BLE address of the central to a specific register/memory location in the peripherals, and they could whitelist only that address. For the latter, se &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46368/how-to-add-custom-mac-address-into-whitelist-using-peer_manager-for-sdk-15-2-and-s132-new-version/183203#183203"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you need to pair up the devices in the field, then you probably still want to use whitelisting, but also have a method to pair them, and whitelist&amp;nbsp; only thee paired device(s). To prevent other devices from pairing you could use MITM protection with a passkey or similar. If these devices do not have keyboard or display MITM protection mechanisms are not supported by the standard, but you could use a hard coded pass key for instance to prevent other devices from pairing. Note that a hard coded passkey does not provide any security, so an attacker could circumvent it, but it would prevent a non-malicious device near by from accidentally connecting and pairing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/345957?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 15:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:257a7fb1-ac66-425f-981e-a86f2bc7a085</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;After some further reading, I&amp;#39;m seeing that my understanding of the whitelist may be inverted. If I&amp;#39;m reading correctly now, the whitelist is a list in the Central end, that defines what Peripheral units can connect. That doesn&amp;#39;t address our present issue. We have over a dozen Peripheral units that want to be connected to the multi-NUS Central app running on a 52840 DK. We appear to be having a problem in that our Peripheral units are advertising and then are grabbed by a nearby iPhone etc., at which point they cease advertising and thus we are unable to find them from the multi-NUS app. Is the whitelist the wrong mechanism here? Is there some other mechanism I should be looking at, to prevent the Peripheral units from accepting a connection for other than our own units? I could picture a mechanism by which our Peripheral expects to immediately receive some special command upon connecting, and if that command is not forthcoming, immediately disconnects and resumes advertising. Even that seems a bit kludgy. What am I missing here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/345915?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 13:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04e64ba1-f09d-4a95-9be7-3ee167d0beed</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;Thank you for the detailed and patient explanations. I agree with your conclusion that whitelisting is the way to go for this app. Can you please point me to the documentation on how to do whitelisting? I find that searching the Nordic documentation is a very deep rabbit hole, with the information all there but quite scattered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice / Whitelist Issues</title><link>https://devzone.nordicsemi.com/thread/345908?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 12:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:882e7d66-ef4f-4e2d-a345-e3448eafd8c3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]What is the difference between 112 and 132? I have a vague recollection that with 132 we could be connected by multiple devices whereas 112 was restricted to a single connection at a time[/quote]
&lt;p&gt;There are a number of differences. You can compare the &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/s112.html"&gt;SoftDevice specifications&lt;/a&gt; of both to see all. Note that also S112 supports multiple concurrent connections, but it is limited to 4.&lt;/p&gt;
[quote user=""] If that is the case, I want to try to change to the 132 device. Surely there is a straightforward way within SES to do that?[/quote]
&lt;p&gt;I do not know the details of your application, so I may be wrong, but based on what you wrote I do not see why you want to change SoftDevice. That said, SoftDevices of the same version number is API compatible, so migrating from for instance S112 version 7.2.0 to S132 7.2.0 is quite straight-forward. Primarily, you need to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change the application start address to match the new SoftDevice size.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;You may also need to increase the application RAM start address (see &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;Adjustment of RAM and Flash memory&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Change application include path to use the header files for the new SoftDevice&lt;/li&gt;
&lt;li&gt;Change preprocessor defines that indicate SoftDevice type (so change S112 to S132)&lt;/li&gt;
&lt;li&gt;Flash the new SoftDevice hex intead of the old (to get this automatically done by SES, adjust the additional load file here:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6763.load_5F00_file.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Based on the problem description, and assuming you only want to allow connections from a single central it seems like whitelisting is more sensible in this case. If for instance you pair these devices in production, then you could whitelist only the intended central, and only that would be able to connect. Exactly if and how this can and should be done depends on what fits your specific use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>