<?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>Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110026/extended-scanning-not-working-on-nrf5340-softdevice-controller-after-first-connection</link><description>We&amp;#39;re using nRF53 flashed with SoftDevice and HCI UART example as Controller to implement LE Audio in our Bluetooth stack running on a Mac. Unrelated to BIS/CIS, we run into the issue that we don&amp;#39;t receive any advertisings after the first connection was</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Apr 2024 14:31:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110026/extended-scanning-not-working-on-nrf5340-softdevice-controller-after-first-connection" /><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/479031?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 14:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d08b4c4-0a3b-46d2-ac68-4ba9e3d36a57</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Matthias,&lt;br /&gt;&lt;br /&gt;It is great to hear that provided workaround works for you. Thank you for the update.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/478906?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 09:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ddd17f-0cea-4e1b-b7c0-4ba4d27b8fb0</guid><dc:creator>Matthias Ringwald</dc:creator><description>&lt;p&gt;Hi Dejan. Thanks for the hint. Yes, it&amp;#39;s exactly issue #20444 and the suggested workaround works here as well. Ok, let&amp;#39;s see if I can get 3 unicast streams to work then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/478823?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 14:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c1ea2c5-750e-433d-ac8e-6d8528d9a27e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Matthias,&lt;br /&gt;&lt;br /&gt;The problem you reported might be related to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/known_issues.html#softdevice-controller"&gt;known issue #20444&lt;/a&gt; described in the documentation with existing workaround. Can you check if provided workaround resolves your issue?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/478580?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 14:22:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd70cdf4-da4a-447f-aeab-15b61c8f83ad</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Matthias,&lt;br /&gt;&lt;br /&gt;Thank you for additional information.&lt;br /&gt;&lt;br /&gt;We will look further into your reported issue during next week. I hope to get back to you by the end of next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/478334?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 13:00:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d4fb1af-afa8-41f1-ba20-122a43f24222</guid><dc:creator>Matthias Ringwald</dc:creator><description>&lt;p&gt;Hi Dejan&lt;/p&gt;
&lt;p&gt;Your description of this test setup is correct. Two applications run parallel on the same desktop and each is connected to a nrf55340 board.&lt;/p&gt;
&lt;p&gt;The setup is only intended to show the unexpected behaviour with minimal setup to simplify analysis/debugging. The gatt counter is a simple peripheral application with a gatt service. The scan after&amp;nbsp;connect, first scan for a device, connects to it, then starts scanning again.&lt;/p&gt;
&lt;p&gt;The issue was first observed with our LE Audio Unicast Gateway implementation. This application is also running on Mac with the nRF5340 DK and the SoftDevice. It first scans for LE Audio headsets and connects to the first one it finds. It then access the remote CSIP Service to learn about the Coordinated Set Size. If the Set Size is larger than one, e.g. for Ear-Buds, it will enable scanning again and look for a device with the correct RSI. This failed with the SoftDevice as it is not receiving any advertisements. After that ASCS will be used and eventually two or more CIS streams are used to stream audio. I wanted to create a demo that connects to 3 devices, e.g. for a home theater setup.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matthias&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/477825?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 13:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56c15332-3b5e-4d7a-991c-25f4c2576568</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Matthias,&lt;br /&gt;&lt;br /&gt;I would need more information/clarifications about your setup and application functionality.&lt;br /&gt;&lt;br /&gt;Regarding your setup, you have your desktop (mac or linux) which runs scan_after_connect application connected to nrf5340-dk board which runs hci_uart. Then, you have another (or the same?) desktop which runs gatt_counter application and is connected to another nrf5340-dk which runs the same hci_uart application as the first board. Is this description of your setup correct?&lt;br /&gt;&lt;br /&gt;Could you provide information on how is your setup expected to work? What does each of the applications do and what is your goal with this setup?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/477651?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 16:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc620338-32f9-457c-a6eb-755e84d131e2</guid><dc:creator>Matthias Ringwald</dc:creator><description>&lt;p&gt;The issue seems to be with the HCI_UART (app) + SoftDevice (net) on the nRF5340 DK.&lt;/p&gt;
&lt;p&gt;It is used with the scan_after_connect application on the desktop = macOS or Linux.&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;You can use another nRF5340 with the same HCI_UART + SoftDevice on a second nRF5340 DK. I&amp;#39;ve used this with the gatt_counter example on desktop = macOS or Linux.&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;You can compile the examples in the port/posix-h4 folder with CMake or make and then run them on the command line.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the readme:&amp;nbsp;&lt;a href="https://github.com/bluekitchen/btstack/tree/test-scan-after-connect/port/posix-h4"&gt;https://github.com/bluekitchen/btstack/tree/test-scan-after-connect/port/posix-h4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code for the (trivial) examples is here:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;a href="https://github.com/bluekitchen/btstack/blob/test-scan-after-connect/example/scan_after_connect.c"&gt;https://github.com/bluekitchen/btstack/blob/test-scan-after-connect/example/scan_after_connect.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;a id="" href="https://github.com/bluekitchen/btstack/blob/test-scan-after-connect/example/gatt_counter.c"&gt;https://github.com/bluekitchen/btstack/blob/test-scan-after-connect/example/gatt_counter.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;If you check the provided HCI trace for Wireshark, it seems to be rather simple: scanning doesn&amp;#39;t work after the first connection was established and should reproduce in a similar setup as well. If not, I&amp;#39;d be curious what I could change to get it to scan again.&lt;/p&gt;
&lt;p&gt;If you have a ready-to-run application that you can run on the nRF5340 app core, you can use that as well and first connect and then start scanning again.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Matthias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Scanning not working on nRF5340 SoftDevice Controller after first connection</title><link>https://devzone.nordicsemi.com/thread/477647?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 16:22:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db7909c1-74ad-4250-b0a7-7d9667a441bc</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide more information about your setup?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Which board should each of the mentioned samples (hci_uart, gatt_counter, scan_after_connect) be flashed to?&lt;/p&gt;
[quote user=""]# Flash SDC on nRF534 DK[/quote]
&lt;p&gt;How did you do this?&lt;/p&gt;
[quote user=""]# Run&lt;br /&gt;- You can specify the path to the /dev/tty with param -u on the command line&lt;br /&gt;- Run `gatt_counter` example on one device - could be anything, just announce UUID FF10 in advertisement&lt;br /&gt;- Run `scan_after_connect` on the other. It will scan and connect to the first device, after that, it starts scanning again, but there are no advertisements[/quote]
&lt;p&gt;Where are samples&amp;nbsp;gatt_counter and scan_after_connect located? Could you provide relevant links?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>