<?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>Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121445/bluetooth-settings-and-pawr-periodic-advertising-with-responses</link><description>When calling the bt_conn_le_create_synced function to create a connection to a peripheral, which is synced to the PAwR train, I get a CONNECTION FAILED TO BE ESTABLISHED (0x3E) error from the connected callback. This only happens, when I enable persistent</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Oct 2025 13:14:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121445/bluetooth-settings-and-pawr-periodic-advertising-with-responses" /><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/551823?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 13:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0c1749f-d6dc-4401-918f-acc7255e6dd8</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Fixed it by adding&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint8_t own_addr_type = BT_ADDR_LE_RANDOM;
bt_id_set_scan_own_addr(true, &amp;amp;own_addr_type);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and enabling&amp;nbsp;CONFIG_BT_SCAN_WITH_IDENTITY&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/541533?ContentTypeID=1</link><pubDate>Sat, 05 Jul 2025 22:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d544851-b3b9-42f3-b46a-bbdf91847226</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Ben,&lt;/p&gt;
&lt;p&gt;I am terribly sorry for the late reply. We have been a bit short staffed last month.&lt;/p&gt;
&lt;p&gt;I still can&amp;#39;t reproduce the issue that you are explaining out of the box. Can you please try to download a fresh, unmodified version of NCS v2.9.0, and see if the issue persists? Perhaps you did some modifications that you don&amp;#39;t recall.&lt;/p&gt;
&lt;p&gt;If you still see it, can you, in your next reply please upload one peripheral application in a zipped folder, and the corresponding application in a zipped folder. This way, we know that nothing changed in the github repository in the meantime,&amp;nbsp; and that we have the exact same application that you are testing, and that they don&amp;#39;t require any modification.&lt;/p&gt;
&lt;p&gt;Please also, in the next reply, describe what issue to look for. I will be out of office for a couple of weeks, so someone else may handle your ticket. This way, it is easier for them to know what to look for, rather than interpreting our discussion.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/538118?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 16:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b20a517-6332-443c-b5b0-2154a9f8e10e</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;You can leave the central config unchanged (so also with CONFIG_BT_SETTINGS=y). The problem is only with the peripheral. When executing the esl_c acl scan 1 1 command the central scans for peripherals and syncs with them automatically, though this can take a couple of seconds. This works in the current implementation. When executing esl_c acl connect_esl 0 the central tries to connect to the peripheral with PAwR address 0. This fails if the peripheral has CONFIG_BT_SETTINGS enabled and succeeds otherwise.&lt;/p&gt;
&lt;p&gt;So first check that the peripheral and the central have established a PaWR sync, then try to restablish a connection, then the error should happen.&lt;br /&gt;You can check the peripheral serial output. It should print SYNCHRONIZED when the sync was successful.&lt;/p&gt;
&lt;p&gt;The tag storage errors are unrelated to this problem. It should work either way.&lt;/p&gt;
&lt;p&gt;Thank you for your effort and please let me know if I can help you further with reproducing the error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/537615?ContentTypeID=1</link><pubDate>Mon, 02 Jun 2025 09:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74fac228-12d3-4699-8f03-1ef6b4a3bc79</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, so I tried using the peripheral from your previous reply (NCS v2.9.0), and the nrf-esl-bluetooth\samples\central_esl (both with CONFIG_BT_SETTINGS=y included and commented out with NCS v2.5.0), but nothing happens in either case. Do I need to adjust anything? Note that I moved the shell from cdc_uart to uart0. Does that change anything? Is it dependent on connecting the USB or something?&lt;/p&gt;
&lt;p&gt;When I tried to run your commands I got:&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/pastedimage1748855164710v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In the log, it said:&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/pastedimage1748855313960v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But do I need to specify any addresses or something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that this is with CONFIG_BT_SETTINGS commented out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/536501?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 16:01:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e99e02-5cc2-429d-a32d-7dc0597ff7a0</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;For the central device, I am using the unmodified sample from &lt;a href="https://github.com/NordicPlayground/nrf-esl-bluetooth"&gt;github.com/.../nrf-esl-bluetooth&lt;/a&gt;. The peripheral is custom-built, although it&amp;#39;s similar to the peripheral from the sample. You can find the peripheral code in the ZIP file uploaded in the previous message.&lt;br /&gt;&lt;br /&gt;To reproduce the error, flash the central firmware to a nRF5340DK and the peripheral firmware to a nRF52840DK. Connect to the shell on the central and synchronize with the peripheral (as described in the sample documentation). Then, switch from the synchronized PAwR connection back to a regular BLE connection.&lt;br /&gt;This only works if I disable CONFIG_BT_SETTINGS.&lt;br /&gt;&lt;br /&gt;Here are the commands I use in the central shell:&lt;br /&gt;&lt;br /&gt;esl_c acl scan 1 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Establishes sync with the peripheral&lt;br /&gt;esl_c acl connect_esl 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Attempts to connect to the peripheral with address 0000 (fails if CONFIG_BT_SETTINGS is enabled)&lt;/p&gt;
&lt;p&gt;Here is the ZIP file containing the sample. I&amp;#39;m only using the central part from it.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_2D00_esl_2D00_bluetooth.zip"&gt;devzone.nordicsemi.com/.../nrf_2D00_esl_2D00_bluetooth.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope this helps clarify the issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/536192?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 12:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e6dda5-4eba-4b57-b148-4226ea543d5f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you please also upload the central sample you are using? Did you do any changes to the nrf-esl-bluetooth sample? Or did you just add CONFIG_BT_SETTINGS=y, built it for the nRF5340 DK and flashed it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/535575?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 12:27:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22f563f3-ec48-4f44-880d-4e004b8de409</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Thank you for your Response!&lt;/p&gt;
&lt;p&gt;The peripheral is running on a nrf52840-DK with nRF Connect version 2.9.0 and and the central is running on a nrf5340-DK with nRF Connect version 2.5.0. This is because for the central I am using the &lt;a id="" href="https://github.com/NordicPlayground/nrf-esl-bluetooth"&gt;https://github.com/NordicPlayground/nrf-esl-bluetooth&lt;/a&gt; sample. The problem persists, even if I drop the peripheral SDK version to 2.5.0. The problem arises only if I enable CONFIG_BT_SETTINGS, otherwise the devices work fine.&lt;/p&gt;
&lt;p&gt;Here is the zip of my peripheral (electronic shelf label).&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6320.peripheral.zip"&gt;devzone.nordicsemi.com/.../6320.peripheral.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth settings and PAwR (Periodic Advertising with Responses)</title><link>https://devzone.nordicsemi.com/thread/535490?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 09:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d3eecf-df1a-4f3c-bcec-33bc5fb3771b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is i t possible to upload the application you are testing? Just zip the application folder and drag and drop it here.&amp;nbsp;&lt;/p&gt;
[quote user=""]Does the CONFIG_BT_SETTINGS option influence the connection process from the PAwR sync train?&lt;br /&gt;[/quote]
&lt;p&gt;Not that I was aware of, but when I am able to reproduce what you are seeing, I can have a closer look.&lt;/p&gt;
&lt;p&gt;What device are you trying to connect to? Another nRF device running another sample? If so, what sample are you using for testing?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>