<?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>Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51832/configuration-for-central-and-multi-peripheral-devices-with-dle-and-event-connection-extension-enabled</link><description>Hi, 
 The final design we are working on is composed of 8 peripherals notifying (every 80ms or 160ms) to 1 central. 
 Packet data size is 141 bytes and depending on rate configured by application these packets are output at 80 or 160 ms. 
 Often, we compare</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Oct 2019 12:49:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51832/configuration-for-central-and-multi-peripheral-devices-with-dle-and-event-connection-extension-enabled" /><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/213660?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 12:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:739ffa60-e28e-488a-9ad9-bfccb5b101ea</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I managed to solve the main issue as I changed the way I was handling TX_COMPLETE event when transmitting data and now every packet is sent without any packet loss.&lt;/p&gt;
&lt;p&gt;Thank you very much for your time and support.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/213574?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 08:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbcd06b2-0916-4a21-8566-e1789b3af50d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The LF accuracy setting affects timing windows in the BLE protocol, for accounting for clock drift. It will not change the accuracy of the clock, rather it accounts for drift up to the selected value. The NRF_CLOCK_LF_ACCURACY setting is used by the BLE stack in both ends of the connection, in the places appropriate.&lt;/p&gt;
&lt;p&gt;What boards are you using? Does nRF52 Development Kits show the same behavior Would it be possible for me to reproduce this using nRF52 DKs?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/210786?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 19:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7434a3-bf7d-4f83-9af3-8f9578384a86</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I give a try to each of your suggestions but no one has a positive effect to solve missed packets.&lt;/p&gt;
&lt;p&gt;1- At First, NRF_CLOCK_LF_ACCURACY for master/slaves were the same as 20ppm.&lt;/p&gt;
&lt;p&gt;Before reading BLUETOOTH SPECIFICATION Version 5.0 | Vol 2, Part E chapter 7.7.65.10 LE Enhanced Connection Complete Event, in the last paragraph is stated &amp;quot;The Master_Clock_Accuracy parameter is only valid for a slave. On a master, this parameter shall be set to 0x00.&amp;quot; I changed both as suggested to 500ppm without success.&lt;/p&gt;
&lt;p&gt;So, considering it changed master to 500ppm and keep slaves in 20ppm although this has not solved the question.&lt;/p&gt;
&lt;p&gt;2- Slave latency has been tried but it makes master missed lot of packets&lt;/p&gt;
&lt;p&gt;3- Changed scan window and scan interval for 10ms.&lt;/p&gt;
&lt;p&gt;Any other suggestion ? I&amp;#39;m still working full time to solve this issue and keep trying but no success to the end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/210478?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 14:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfc4fa00-cb1a-4cda-8d8c-88d2c0970324</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Three suggestions:&lt;/p&gt;
&lt;p&gt;1. It might be an LF clock issue. What is your setting for NRF_SDH_CLOCK_LF_ACCURACY? Try set it to 500 ppm (NRF_CLOCK_LF_ACCURACY_500_PPM). This goes for both peripherals and central.&lt;/p&gt;
&lt;p&gt;2. Use slave latency. Note that unit is not ms, it is number of connection events the peripheral can skip. (Note also that unit for supervision timeout is ms, not 1.25 ms units.)&lt;/p&gt;
&lt;p&gt;3. In order to reduce the effect of scanning on active links, you can set equal, low values for scan window and scan interval (e.g. 5.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/209886?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 15:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:674acce5-1ce2-40eb-b2d0-641e2d40476d</guid><dc:creator>Carlos</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;For easy, consider following scenario as&amp;nbsp;we changed configuration to run with only 2 peripherals&amp;nbsp;to reproduce issue.&lt;br /&gt;We are considering this design similar to multilink scheduling with two connections as a Central and minimum interval, as described on S132 spec.&lt;/p&gt;
&lt;p&gt;Each Peripheral output (S) 39 bytes packet data at every 2t, where t is sensor rate at 10ms, see below picture.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/timing_5F00_2devices.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Connection Event Length Extension enabled&lt;br /&gt;Data Length Extension enabled&lt;br /&gt;Gap event length = 16 (20ms) for both peripherals&lt;br /&gt;Gap event length = 4 (5ms) for central&lt;br /&gt;TX/RX MTU = 42 bytes&lt;br /&gt;TX/RX time = 480us&lt;/p&gt;
&lt;p&gt;After connection and before notifications, we update conn parameters to sensor rate at 10ms:&lt;br /&gt;min Connection Interval = 32 (40 ms) // 10 * n*n + scan window, n=2 (common factor in ms)&lt;br /&gt;max Connection Interval = 32 (40 ms) // scan window = 0, no scan after all devices connected&lt;br /&gt;slave latency = 0ms&lt;br /&gt;supervision timeout = 6000 ms&lt;br /&gt;Central enable notification at once for all peripherals simultaneously.&lt;br /&gt;Central only receive packets from peripherals, not sending (almost) any data to them&lt;/p&gt;
&lt;p&gt;But this timing setup is not working properly as packet data are being lost from each peripheral.&lt;br /&gt;After reading many times, S132 spec and specially the chapter 15.10 Suggested intervals and windows, which is not much clear&amp;nbsp;we have tried lots of combinations of these parameters but none of them eliminates this problem.&lt;br /&gt;New log files were attached showing how this configuration performed.&lt;br /&gt;Devices are placed on the table and are away 30 cm from each other forming a triangle and sniffer boards placed in the middle of it.&amp;nbsp;Central tx power is +4dbm and 0dbm for peripherals.&lt;br /&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4760.capture_5F00_36_5F00_new.pcapng"&gt;devzone.nordicsemi.com/.../4760.capture_5F00_36_5F00_new.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3286.capture_5F00_88_5F00_new.pcapng"&gt;devzone.nordicsemi.com/.../3286.capture_5F00_88_5F00_new.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5661.capture_5F00_new.txt"&gt;devzone.nordicsemi.com/.../5661.capture_5F00_new.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration for central and multi peripheral devices with DLE and Event Connection Extension Enabled</title><link>https://devzone.nordicsemi.com/thread/208506?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2019 14:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f496ed2-58d1-47c5-91fb-74367beb81c7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Regarding scan and connection parameters, note that with the scan window and connection interval you have chosen, the SoftDevice of the central is not able to schedule connections and scanning without collisions between the two. Note also in the top-most scenario that when central has min/max of 80/160, and peripheral has min/max of 100/100, the negotiated connection interval will be 100. For timing and connection/scan parameters, I refer to &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fmultilink_scheduling%2Fcentral_connection_timing.html"&gt;Connection timing as a Central&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fmultilink_scheduling%2Fsuggested_intervals_windows_s132.html"&gt;Suggested intervals and windows&lt;/a&gt;, from the SoftDevice Specification.&lt;/p&gt;
&lt;p&gt;Regarding periods of no packets from the peripheral, I see that for instance in capture_36.pcapng, at No. 8502, which is the last notification before no packets for a while, the packet is malformed (wrong CRC) and for the series of Empty PDU from master the sequence number is the same (repeated packet). It looks to me like the packet from the slave is either not received because of interference / noise, or it pauses RX for a while. Can you tell a bit more about the test setup with regards to where the boards (including sniffer) are placed in relation to each other?&lt;/p&gt;
&lt;p&gt;Note also that the nRF Sniffer can only follow one link. That means you will get packets between the central and one of the peripherals, and so other peripherals and connections between those and the master will not be part of the sniffer trace.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>