<?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>Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120335/problem-with-changing-security-level-in-connection-established-with-ble-shell</link><description>Hi, 
 I have a problem with unmodified BLE Shell and changing security level to 2(aka just works). 
 1. I&amp;#39;m connecting from BLE Shell to the device that requires level 2 2. After the connection is succesfully established I&amp;#39;m trying to perform `bt security</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Apr 2025 12:43:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120335/problem-with-changing-security-level-in-connection-established-with-ble-shell" /><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530455?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 12:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbc788b-ac20-49fb-8054-04c67b45767a</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Tested *.hex and works great with a dongle. Thank you for support &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530255?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63ab48cf-254f-40b8-8481-25a39b2ca698</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming. Attached is a modified version of the project from nRF Connect SDK v2.9.1 which should work on the dongle as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bt_5F00_shell.zip"&gt;devzone.nordicsemi.com/.../bt_5F00_shell.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840dongle_5F00_bt_5F00_shell.hex"&gt;devzone.nordicsemi.com/.../nrf52840dongle_5F00_bt_5F00_shell.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530235?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 12:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83267976-e6ff-4890-a019-bf535740ee74</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Yes, I think BLE Shell is super handy on dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530219?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 11:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbeeef42-63bc-4c63-a446-3ee94a456dd7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The sample is not configured for the nRF52840 Dongle. Is that the dongle you are using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530163?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 08:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eb4553f-0dab-4dcd-a93b-88147d465389</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Update - actually it&amp;nbsp;started working(connects successfully and accepts &amp;quot;bt security 2&amp;quot;) on DK. Still not able to make it working on dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530149?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 07:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37ff7669-3a4b-465b-80a9-dbed41c23272</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Ok, I found nRF52840 DK and build shell with default configs. It responds more or less correctly, but later on it is not able to connect to the device:&lt;br /&gt;&lt;br /&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/pastedimage1743580628657v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530114?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 05:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:384bd669-2cb1-41eb-93b4-146f06f9ea2c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You should see multiple log messages while the Bluetooth stack is initializing after issuing the bt init command. Do you have an nRF52840 DK you can test this on to see if it gives you the same issue? If not, can you&amp;nbsp;say a bit more about your setup? For example, do you use the nRF USB or UART USB serial bridge on your board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530038?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 14:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdda9e0e-eb2c-4793-9f4d-029c230497f1</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Thanks - ok, I found it (hidden dir, so no visible by default on MacOS) and was able to build. Still some issue - shell starts but does not respond to &amp;quot;bt init&amp;quot;(I&amp;#39;m able to list all &amp;quot;bt&amp;quot; commands but looks not working):&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Zrzut-ekranu-2025_2D00_04_2D00_01-o-16.24.07-PM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530028?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 13:42:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1625df89-0e38-417d-b2d7-ad26661f98db</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The UI doesn&amp;#39;t allow you to select projects under &amp;#39;test&amp;#39;, but you can click &amp;#39;Open an existing application&amp;#39; and manually&amp;nbsp;select&amp;nbsp;to the project in the Zephyr repository.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/530026?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 13:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6df41045-7fd7-445b-9150-20f3e97dd4bb</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Ok, I installed VSC extension and NCS v2.9.1 on Mac. How to build Bluetooth Shell? I can&amp;#39;t create new application based on Bluetooth Shell&amp;nbsp;- it is not visible under &amp;quot;Samples&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529970?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 11:32:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5c612a-3020-4e49-88a0-00a1e14a0ddb</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Thank you, will verify it that works for me and come back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529966?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 11:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5eb948-cf82-4499-9d90-c75d069cea6e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;These are the&amp;nbsp;installation instructions for the nRF Connect SDK:&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/installation/install_ncs.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/installation/install_ncs.html&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529960?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 11:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c6730b6-598e-4c52-a8f0-707b3f8d36d7</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Hmmm, so the &amp;quot;Getting started&amp;quot; with &amp;quot;latest&amp;quot; is not working as expected? It&amp;#39;s a bit confusing. I just followed the official instructions, chosed &amp;quot;latest&amp;quot; and it does not work.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the proper steps to setup for latest version of Bluetooth Shell?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529959?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 11:03:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043c805f-45c9-4284-986e-aab4c48dd70d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;nRF Connect SDK v2.9.1 uses the &amp;quot;v3.7.99-ncs2-1&amp;quot; tag of our Zephyr fork.&amp;nbsp;When installing the&amp;nbsp;nRF Connect SDK&amp;nbsp;you should use one of the release tags (v2.9.1 is the latest stable release at time of writing)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529957?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 10:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7227381-4d84-4dfb-9354-f544d31bc0c9</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;Ok, as far as I see &amp;quot;latest&amp;quot; in relation to NCS means &amp;nbsp;&lt;span class="ml-1 wb-break-all"&gt;v3.7.99-ncs1?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529954?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 10:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c33cb3e-6b1b-499e-9704-fbdd1a8c7a56</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I assumed you were using &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/installation/install_ncs.html"&gt;nRF Connect SDK&lt;/a&gt;. Have you tried with this SDK as well?&amp;nbsp;&lt;/p&gt;
[quote userid="13739" url="~/f/nordic-q-a/120335/problem-with-changing-security-level-in-connection-established-with-ble-shell/529947"]zephyr-sdk-0.17.0[/quote]
&lt;p&gt;This contains compilers and other build tools, but not the Zephyr code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529947?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 10:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07d5bc8e-d791-462a-bb3d-0a935e634f93</guid><dc:creator>irgu</dc:creator><description>&lt;p&gt;I&amp;#39;m setting up on MacOS just with below instructions and the &amp;quot;Version&amp;quot; toggle set to&amp;quot; NRF Connect SDK latest&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/getting_started/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/getting_started/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m ending up with directories:&lt;br /&gt;- zephyrproject&lt;br /&gt;- zephyr-sdk-0.17.0&lt;br /&gt;&lt;br /&gt;Not sure which version used before(also &amp;quot;latest&amp;quot;), but as far as I remember it was&amp;nbsp;&lt;span&gt;zephyr-sdk-0.16.0&lt;/span&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/getting_started/index.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with changing security level in connection established with BLE Shell</title><link>https://devzone.nordicsemi.com/thread/529941?ContentTypeID=1</link><pubDate>Tue, 01 Apr 2025 10:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1505b426-46c7-43a6-96db-4bd105d5a408</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Authentication should not be required if both sides only require level 2 security. Which version of the SDK are you currently using and which version were you using earlier when it worked? Also, what security level do you get when pairing with phone instead?&lt;/p&gt;
&lt;p&gt;I was not able to reproduce this using SDK v2.9.1. I connected to the peripheral_uart example.&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/pastedimage1743502184934v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>