<?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 data receive on nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115773/problem-with-data-receive-on-nrf5340</link><description>Hello, I want to send data from peripheral devices to central device. My peripheral device code is based on &amp;quot;ble_peripheral_uart&amp;quot; sample and my central device code is based on &amp;quot;Multi NUS&amp;quot; sample. 
 https://devzone.nordicsemi.com/guides/nrf-connect-sdk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Nov 2024 15:12:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115773/problem-with-data-receive-on-nrf5340" /><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/510343?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 15:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcdfeaad-493b-4ac5-89ab-38c1210f2bfd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good, that confirms that scanning is the problem. Thanks for letting us know. As long as you don&amp;#39;t need more devices, this also seems like a good fix in your case (and scanning withotu reason also&amp;nbsp;waste&amp;nbsp;energy). An alternative would be to look into the scannig paramters (window and interval), scanning for a smaller ammount of time, leaving more time for the connections.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/510173?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 16:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13c48a79-90ee-4517-bdc0-66eef7f1ece4</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I found a problem.&lt;br /&gt;&lt;br /&gt;The problem was with this code in &lt;em&gt;&lt;strong&gt;discovery_complete&lt;/strong&gt; &lt;/em&gt;function&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	int err = bt_scan_start(BT_SCAN_TYPE_SCAN_ACTIVE);
	if (err) {
		LOG_ERR(&amp;quot;Scanning failed to start (err %d)&amp;quot;, err);
	} else {
		LOG_INF(&amp;quot;Scanning started&amp;quot;);
	}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Scanning to connect to additional devices caused a delay in transmission with already connected devices.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I modified &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt; &lt;em&gt;&lt;strong&gt;discovery_complete&lt;/strong&gt; &lt;/em&gt;function in this way&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static size_t x_device = 2; // maximum number of connected devices
static size_t connected_devices = 0;

static void discovery_complete(struct bt_gatt_dm *dm,
                               void *context)
{
    struct bt_nus_client *nus = context;
    LOG_INF(&amp;quot;Service discovery completed&amp;quot;);

    bt_gatt_dm_data_print(dm);

    bt_nus_handles_assign(dm, nus);
    bt_nus_subscribe_receive(nus);

    bt_gatt_dm_data_release(dm);

    connected_devices++;

    if (connected_devices &amp;lt; x_device) {
        int err = bt_scan_start(BT_SCAN_TYPE_SCAN_ACTIVE);
        if (err) {
            LOG_ERR(&amp;quot;Scanning failed to start (err %d)&amp;quot;, err);
        } else {
            LOG_INF(&amp;quot;Scanning started&amp;quot;);
        }
    } else {
        LOG_INF(&amp;quot;Reached the maximum number of connected devices: %d&amp;quot;, x_device);
    }

    // Send a message to the new NUS server informing it of its ID in this mini-network
    size_t num_nus_conns = bt_conn_ctx_count(&amp;amp;conns_ctx_lib);
    size_t nus_index = 99;

    for (size_t i = 0; i &amp;lt; num_nus_conns; i++) {
        const struct bt_conn_ctx *ctx = bt_conn_ctx_get_by_id(&amp;amp;conns_ctx_lib, i);

        if (ctx) {
            if (ctx-&amp;gt;data == nus) {
                nus_index = i;
                char message[3];
                sprintf(message, &amp;quot;%d&amp;quot;, nus_index);
                message[2] = &amp;#39;\r&amp;#39;;
                int length = 3;

                int err = bt_nus_client_send(nus, message, length);
                if (err) {
                    LOG_WRN(&amp;quot;Failed to send data over BLE connection (err %d)&amp;quot;, err);
                } else {
                    LOG_INF(&amp;quot;Sent to server %d: %s&amp;quot;, nus_index, message);
                }

                bt_conn_ctx_release(&amp;amp;conns_ctx_lib, (void *)ctx-&amp;gt;data);
                break;
            } else {
                bt_conn_ctx_release(&amp;amp;conns_ctx_lib, (void *)ctx-&amp;gt;data);
            }
        }
    }
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When the central device is connected to a smaller number of devices than defined in the &lt;strong&gt;&lt;em&gt;x_device&lt;/em&gt;&lt;/strong&gt; variable, it works as before (there is a delay in every fifth frame), but when it is connected to the maximum number of devices (defined in the &lt;strong&gt;&lt;em&gt;x_device&lt;/em&gt; &lt;/strong&gt;variable), it no longer scans, and therefore there is no delay.&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: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/510083?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 11:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3340f0e6-bddc-4447-b447-18e954c72aa1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure I understood this experiment. The unofficial Multi NUS sample is a central, and it needs&amp;nbsp;BT_CONN_CTX_DEF etc to keep track of the multiple connections. And&amp;nbsp;ble_peripheral_uart is a peripheral (and single link before potential modifications).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could there be other things that cause problems with the scheduling? Which scan parameters are you using? The controller needs to fit both scanning and connections in, so an alternative could be to reduce the scan window and scan frequency and see if that changes aything. That can be done by populating a&amp;nbsp;bt_le_scan_param struct that you refer to in the&amp;nbsp;bt_scan_init_param struct you pass to scan_init() on the central side (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/95753/custom-scan-interval-window-to-be-100-150-200/405433"&gt;this post&lt;/a&gt; on that).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/509720?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 15:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496c4860-a4ff-45ab-ab60-0b74611f431f</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;I was searching for problematic code in &lt;strong&gt;Multi NUS&lt;/strong&gt;, so I copied code fragments from &lt;strong&gt;Multi NUS&lt;/strong&gt; project to &lt;strong&gt;ble_peripheral_uart&lt;/strong&gt; sample (which were modified as I described above). So I add &lt;em&gt;&lt;strong&gt;BT_CONN_CTX_DEF(conns, CONFIG_BT_MAX_CONN, sizeof(struct bt_nus_client));&lt;/strong&gt;&lt;/em&gt; line to&amp;nbsp;&lt;strong&gt;ble_peripheral_uart&lt;/strong&gt; and I replaced &lt;em&gt;&lt;strong&gt;uart_init&lt;/strong&gt;&lt;/em&gt;,&amp;nbsp;&lt;em&gt;&lt;strong&gt;gatt_discover&lt;/strong&gt;&lt;/em&gt;,&amp;nbsp;&lt;em&gt;&lt;strong&gt;connected&lt;/strong&gt;&lt;/em&gt;,&amp;nbsp;&lt;em&gt;&lt;strong&gt;disconnected&lt;/strong&gt; &lt;/em&gt;functions in &lt;strong&gt;ble_peripheral_uart&lt;/strong&gt; by their&amp;nbsp;versions from&lt;strong&gt; Multi NUS&lt;/strong&gt; project.&lt;br /&gt;&lt;br /&gt;In this point transmission was OK. But when I replaced &lt;strong&gt;discovery_complete&lt;/strong&gt; function, the &lt;strong&gt;ble_peripheral_uart&lt;/strong&gt; project was working like multi NUS, so it was possible to connect to multiple devices&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;, but there was also a problem with transmission. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The &lt;em&gt;&lt;strong&gt;discovery_complete&lt;/strong&gt; &lt;/em&gt;function (from &lt;strong&gt;Multi NUS&lt;/strong&gt; file) gives the ability to connect multiple devices, but it also causes a delay of every fifth frame in the transmission.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Is it possible to modify this function to eliminate the transmission problem and retain the ability to connect with multiple devices?&lt;/p&gt;
&lt;p&gt;PS: I don&amp;#39;t need to connect with 20 devices, I only need to be able to connect with (up to) 3 devices in the same time (with data transmission in both directions).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/509660?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 11:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bb9cd12-49dc-4832-bbbf-50cf5a467512</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;I changed it in &lt;em&gt;&lt;strong&gt;prj.conf&lt;/strong&gt;&lt;/em&gt; file.&lt;/p&gt;
&lt;p&gt;I also tried it on nRF52840 and it is in build (I tried it with different values but problem still occurs).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/509283?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 14:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a30dca99-ab03-4bad-aa47-57f970d46c6e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Where did you make this change? This config is relevant on the controller side, so the network core application (hci_ipc/hci_rpmsg depending on SDK version).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/509274?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 14:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0301ae5-975f-432d-bc3b-37dc69fef8f0</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;You previously suggested me to use &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;code&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT&lt;/code&gt;&lt;/strong&gt; , and I wrote then that result was the same.&lt;br /&gt;&lt;br /&gt;Now I noticed that this is not defined in build.&lt;br /&gt;&lt;img style="max-height:21px;max-width:517px;" height="21" src="https://devzone.nordicsemi.com/resized-image/__size/1034x42/__key/communityserver-discussions-components-files/4/pastedimage1730903517939v1.png" width="517" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I also tried with:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BT_LL_SOFTDEVICE&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BT_CTLR&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;But it isn&amp;#39;t work&lt;br /&gt;&lt;br /&gt;Is there any configuration that needs to be added to make it work?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/509147?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 15:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c00fa84-4186-441e-b496-9519be7b9ed4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The last trace is short and encrypted and does not show much, but looking at&amp;nbsp;Multi_NUS_Wireshark__2.pcapng I notice that every 5 packets are delayed (looking at the delta) and then the subsequent packet has the more data field set, as there is more buffered data. So this points to scheduling not being ideal for your use case. iMost likely what you want is short &amp;quot;slots&amp;quot; for each connection so that you can exchagne packets with little delay? Refering to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html"&gt;Advanced Central connection timing&lt;/a&gt;, this means that you need to configure a short event length (but long enough to fit the longest packet you intend to send). This can be configured with &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT"&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/508664?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 12:47:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65df73ac-977f-4a3f-a7c1-5de08b0f896d</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Below are wireshark files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Multi NUS:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Multi_5F00_NUS_5F00_Wireshark.pcapng"&gt;devzone.nordicsemi.com/.../Multi_5F00_NUS_5F00_Wireshark.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Multi_5F00_NUS_5F00_Wireshark_5F005F00_2.pcapng"&gt;devzone.nordicsemi.com/.../Multi_5F00_NUS_5F00_Wireshark_5F005F00_2.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;central_uart&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/central_5F00_uart_5F00_Wireshark.pcapng"&gt;devzone.nordicsemi.com/.../central_5F00_uart_5F00_Wireshark.pcapng&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In Central_uart case you don&amp;#39;t see incoming packets (but transmission between devices is OK).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/508463?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 08:34:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5522f6b-97ea-4a01-957d-04b209ee2d49</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the information. I was not clear enoguh, but what I think we need is to look at the traffic on air. Can you make a sniffer trace of both cases so that we can compare? You can use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF sniffer &lt;/a&gt;for that. I hope we will understand more from that.&lt;/p&gt;
&lt;p&gt;PS: The&amp;nbsp;Multi NUS project&amp;nbsp;you refer to is not an official sample, and while can be usefull to demonstrate a central with multiple concurrent connections,&amp;nbsp; you will need to adapt it to your needs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/508427?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 18:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd24227-76af-4eb2-90c7-9dd732e7b05f</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure that this is what you want, but below are screenshoots from j-link with connection parameters. I also send configuration files in one of previous posts.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from device with modified &lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt; &lt;/em&gt;program:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:244px;max-width:476px;" height="244" src="https://devzone.nordicsemi.com/resized-image/__size/952x488/__key/communityserver-discussions-components-files/4/ble_5F00_central_5F00_uart_5F00_j_2D00_link_5F00_1.png" width="476" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:153px;max-width:450px;" height="153" src="https://devzone.nordicsemi.com/resized-image/__size/900x306/__key/communityserver-discussions-components-files/4/ble_5F00_central_5F00_uart_5F00_j_2D00_link_5F00_2.png" width="450" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;from device with modified &lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; program:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:255px;max-width:451px;" height="255" src="https://devzone.nordicsemi.com/resized-image/__size/902x510/__key/communityserver-discussions-components-files/4/multi_5F00_nus_5F00_j_2D00_link_5F00_1.png" width="451" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:160px;max-width:449px;" height="160" src="https://devzone.nordicsemi.com/resized-image/__size/898x320/__key/communityserver-discussions-components-files/4/multi_5F00_nus_5F00_j_2D00_link_5F00_2.png" width="449" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Below are logs from receiving device. One is from modified &lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt; &lt;/em&gt;program (and it is OK), second one is from modified &lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; program (and it is NOT OK).&lt;br /&gt;&lt;br /&gt;log from modified &lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt; &lt;/em&gt;program:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/COM23_5F00_2024_5F00_10_5F00_29.17.57.18.478.txt"&gt;devzone.nordicsemi.com/.../COM23_5F00_2024_5F00_10_5F00_29.17.57.18.478.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;log from modified &lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; program&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/COM11_5F00_2024_5F00_10_5F00_29.17.52.34.361.txt"&gt;devzone.nordicsemi.com/.../COM11_5F00_2024_5F00_10_5F00_29.17.52.34.361.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you analize this logs with python script (that I send before)&amp;nbsp; you will see the difference and what is wrong with &lt;strong&gt;Multi NUS&lt;/strong&gt; app.&lt;br /&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;&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; [ Remember to change Path in script and log name ]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Problem with &lt;em&gt;Multi NUS&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;: every fifth packet has a bigger timestamp than it should have - (timestamp is in data packet and is from peripheral device, so it looks like it takes longer for the peripheral device to send every fifth data packet, but when peripheral device is sending data to &lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt; &lt;/em&gt;or to the &lt;strong&gt;phone&lt;/strong&gt; everything is OK).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;That&amp;#39;s how it look like after script analysis &lt;/strong&gt;(this is the analysis of the above logs)&lt;strong&gt;:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;difference between timestamps in subsequent data packets:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt; &lt;/em&gt;(left image) &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;&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; &lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; (right image)&lt;br /&gt;&lt;img style="max-height:347px;max-width:181px;" height="347" src="https://devzone.nordicsemi.com/resized-image/__size/362x694/__key/communityserver-discussions-components-files/4/pastedimage1730223924792v1.png" width="181" alt=" " /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;img style="max-height:407px;max-width:124px;" height="407" src="https://devzone.nordicsemi.com/resized-image/__size/248x814/__key/communityserver-discussions-components-files/4/pastedimage1730224000821v2.png" width="124" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;summary:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;img style="max-height:73px;max-width:389px;" height="73" src="https://devzone.nordicsemi.com/resized-image/__size/778x146/__key/communityserver-discussions-components-files/4/pastedimage1730224087706v3.png" width="389" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;img style="max-height:71px;max-width:379px;" height="71" src="https://devzone.nordicsemi.com/resized-image/__size/758x142/__key/communityserver-discussions-components-files/4/pastedimage1730224131903v4.png" width="379" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So as you see every fifth pachet has much bigger timestamp and average difference between timestamps of subsequent data packets in&amp;nbsp;&lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt;&lt;/em&gt; case is about 8ms but in&amp;nbsp;&lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; case is about 12ms (&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;in the ideal case it should be equal to 8&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;ms). It is worth mentioning that&amp;nbsp;&lt;em&gt;&lt;strong&gt;ble_central_uart&lt;/strong&gt;&lt;/em&gt; and&amp;nbsp;&lt;em&gt;&lt;strong&gt;Multi NUS&lt;/strong&gt;&lt;/em&gt; are only receiving data and both were connected to the same device &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;that sends data (of course not in the same time).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;So there is something wrong with Multi NUS sample.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/508161?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 13:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f57ef7e-6f46-4ac9-b640-5c7cd5e23154</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not able to fully understand what is going on there. What are the actuall connection parameters that are used on the connections? Can you make a sniffer trace that shows everyting starting with the connection both with a phone as central and the nRF as central (as that behaves as you expect)? (you may only be able to sniff one of the connections if you use nRF Sniffer, but focusing on one of the connections should be OK as at least then we can see what is happening on the link that may cause the delays you are seeing).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/507980?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 15:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2444efc8-ada9-45b4-832d-2c201306d35c</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;&lt;br /&gt;I tested communication on porgram based on &amp;quot;&lt;strong&gt;&lt;em&gt;ble_central_uart&lt;/em&gt;&lt;/strong&gt;&amp;quot; sample (instread of program based on &amp;quot;&lt;strong&gt;&lt;em&gt;Multi NUS&lt;/em&gt;&lt;/strong&gt;&amp;quot; sample) and it works properly. [In this case i tested it with one connected device (&lt;em&gt;Peripheral UART &lt;/em&gt;device) -&amp;nbsp; in &lt;em&gt;Central UART&lt;/em&gt; case it was OK, but in &lt;em&gt;Multi NUS&lt;/em&gt; case there was the previously described error]&lt;br /&gt;&lt;br /&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Central UART sample was modified in the same way as Multi NUS sample.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So problem is in Mutli NUS.&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can you help me to identify this problem in Multi NUS or help me to&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt; modify the Central UART sample so that it can receive data (and send data) from several devices connected to it simultaneously ?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/507879?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 09:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91a3c4d3-4241-41dc-9afa-e03a9536302b</guid><dc:creator>.....</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I add this line [&lt;strong&gt;&lt;code&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=2500&lt;/code&gt;&lt;/strong&gt;] (I tried also with different parameters: 10, 2500 and 1000000) but result is the same.&lt;br /&gt;I tested it in 2 cases:&lt;br /&gt;- when I added this line only to &lt;em&gt;Multi NUS&lt;/em&gt;&lt;br /&gt;- and when I added this line to both &lt;em&gt;Multi NUS&lt;/em&gt; and &lt;em&gt;Peripheral&lt;/em&gt; devices&lt;br /&gt;and nothing changed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Below are my &lt;strong&gt;config&lt;/strong&gt; files:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Peripheral UART:&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;prj.conf&lt;/em&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable the UART driver
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y

CONFIG_GPIO=y

# Make sure printk is printing to the UART console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Nordic_UART_Service&amp;quot;
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=1

# Enable the NUS service
CONFIG_BT_NUS=y

# Enable bonding
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

# Enable DK LED and Buttons library
CONFIG_DK_LIBRARY=y

# This example requires more stack
CONFIG_MAIN_STACK_SIZE=1152
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_PRINTK=n

CONFIG_ASSERT=y


CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_TIMER2=y

CONFIG_PRINTK=y

CONFIG_PINCTRL=y



CONFIG_FPU=y


CONFIG_BT_GATT_CLIENT=y


CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0

CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y

CONFIG_BT_USER_PHY_UPDATE=y


CONFIG_BT_USER_DATA_LEN_UPDATE=y    # enabling the data length extension

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;prj_minimal.conf&lt;/em&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2021 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable the UART driver
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y

CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Nordic_UART_Service&amp;quot;
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_MAX_CONN=1
CONFIG_BT_MAX_PAIRED=1

# Enable the NUS service
CONFIG_BT_NUS=y

# Enable bonding
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

# Enable DK LED and Buttons library
CONFIG_DK_LIBRARY=y

# Drivers and peripherals
CONFIG_I2C=n
CONFIG_WATCHDOG=n
CONFIG_SPI=n
CONFIG_GPIO=n

# Power management

# Interrupts
CONFIG_DYNAMIC_INTERRUPTS=n
CONFIG_IRQ_OFFLOAD=n

# Memory protection
CONFIG_THREAD_STACK_INFO=n
CONFIG_THREAD_CUSTOM_DATA=n
# CONFIG_FPU=n

# Boot
CONFIG_BOOT_BANNER=n
CONFIG_BOOT_DELAY=0

# Console
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_STDOUT_CONSOLE=n
CONFIG_PRINTK=n
CONFIG_EARLY_CONSOLE=n

# Build
CONFIG_SIZE_OPTIMIZATIONS=y

# ARM
CONFIG_ARM_MPU=n

# In order to correctly tune the stack sizes for the threads the following
# Configurations can enabled to print the current use:
#CONFIG_THREAD_NAME=y
#CONFIG_THREAD_ANALYZER=y
#CONFIG_THREAD_ANALYZER_AUTO=y
#CONFIG_THREAD_ANALYZER_RUN_UNLOCKED=y
#CONFIG_THREAD_ANALYZER_USE_PRINTK=y
#CONFIG_CONSOLE=y
#CONFIG_UART_CONSOLE=y
#CONFIG_SERIAL=y
#CONFIG_PRINTK=y

# Example output of thread analyzer
#SDC RX              : unused 800 usage 224 / 1024 (21 %)
#BT ECC              : unused 216 usage 888 / 1104 (80 %)
#BT RX               : unused 1736 usage 464 / 2200 (21 %)
#BT TX               : unused 1008 usage 528 / 1536 (34 %)
#ble_write_thread_id : unused 688 usage 336 / 1024 (32 %)
#sysworkq            : unused 1912 usage 136 / 2048 (6 %)
#MPSL signal         : unused 928 usage 96 / 1024 (9 %)
#idle 00             : unused 224 usage 96 / 320 (30 %)
#main                : unused 568 usage 456 / 1024 (44 %)
CONFIG_BT_RX_STACK_SIZE=1024
CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT=y
CONFIG_BT_HCI_TX_STACK_SIZE=640
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
CONFIG_MPSL_WORK_STACK_SIZE=256
CONFIG_MAIN_STACK_SIZE=864
CONFIG_IDLE_STACK_SIZE=128
CONFIG_ISR_STACK_SIZE=1024
CONFIG_BT_NUS_THREAD_STACK_SIZE=512

# Disable features not needed
CONFIG_TIMESLICING=n
CONFIG_MINIMAL_LIBC_MALLOC=n
CONFIG_LOG=n
CONFIG_ASSERT=n

# Disable Bluetooth features not needed
CONFIG_BT_DEBUG_NONE=y
CONFIG_BT_ASSERT=n
CONFIG_BT_DATA_LEN_UPDATE=n
CONFIG_BT_PHY_UPDATE=n
CONFIG_BT_GATT_CACHING=n
CONFIG_BT_GATT_SERVICE_CHANGED=n
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=n
CONFIG_BT_SETTINGS_CCC_LAZY_LOADING=y
CONFIG_BT_HCI_VS_EXT=n

# Disable Bluetooth controller features not needed
CONFIG_BT_CTLR_PRIVACY=n
CONFIG_BT_CTLR_PHY_2M=n

# Reduce Bluetooth buffers
CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT=1
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=43
CONFIG_BT_BUF_EVT_RX_COUNT=2

CONFIG_BT_CONN_TX_MAX=2
CONFIG_BT_L2CAP_TX_BUF_COUNT=2
CONFIG_BT_BUF_ACL_TX_COUNT=3
CONFIG_BT_BUF_ACL_TX_SIZE=27


CONFIG_HW_ID_LIBRARY_SOURCE_DEVICE_ID=y



CONFIG_LOG=y

CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_TIMER2=y

CONFIG_PRINTK=y

CONFIG_PINCTRL=y



CONFIG_FPU=y


CONFIG_BT_GATT_CLIENT=y


CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0

CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y

CONFIG_BT_USER_PHY_UPDATE=y


CONFIG_BT_USER_DATA_LEN_UPDATE=y    # enabling the data length extension
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;prj_cdc.conf&lt;/em&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2021 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable the UART driver
CONFIG_UART_LINE_CTRL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_BT_NUS_UART_ASYNC_ADAPTER=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n
CONFIG_USB_CDC_ACM=y
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y

# Disable the UARTE0 enabled in default project configuration
CONFIG_NRFX_UARTE0=n
CONFIG_UART_NRFX=n



CONFIG_LOG=y

CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_TIMER2=y

CONFIG_PRINTK=y

CONFIG_PINCTRL=y



CONFIG_FPU=y


CONFIG_BT_GATT_CLIENT=y


CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0

CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y

CONFIG_BT_USER_PHY_UPDATE=y


CONFIG_BT_USER_DATA_LEN_UPDATE=y    # enabling the data length extension

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Multi NUS:&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;prj.conf&lt;/em&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#

# Enable the UART driver
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Enable the BLE stack with GATT Client configuration
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_MAX_CONN=20
CONFIG_BT_MAX_PAIRED=20
CONFIG_BT_CONN_CTX=y

# Enable the BLE modules from NCS
CONFIG_BT_NUS_CLIENT=y
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1
CONFIG_BT_GATT_DM=y
CONFIG_HEAP_MEM_POOL_SIZE=2048

# This example requires more workqueue stack
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# Enable bonding
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_PRINTK=y

CONFIG_ASSERT=y


CONFIG_FPU=y


CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=6
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0

CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=y

CONFIG_BT_USER_PHY_UPDATE=y


CONFIG_BT_USER_DATA_LEN_UPDATE=y    # enabling the data length extension


&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with data receive on nRF5340</title><link>https://devzone.nordicsemi.com/thread/507754?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 12:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:073ac26c-6c6e-436d-bff9-fa7e6f442dc8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As this works with a phone as central but not the nRF I suspect there may be somethign scheduling related (assuming you test with the same ammount of peripherals). What are the connection parmaeters? Does it help if you set a shorter default event length with&amp;nbsp;&lt;code&gt;CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=2500&lt;/code&gt; (or similar)?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>