<?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>Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115183/incorrect-link-settings-to-phone-and-windows-pc</link><description>Hello Devzone, 
 In our product we are working with a nRF52840 microcontroller and periodically transmitting large sums of data to a PC or a phone. 
 We noticed that over time a delay is occurring the data stream which kept incrementing until we had a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jan 2025 10:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115183/incorrect-link-settings-to-phone-and-windows-pc" /><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/519019?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 10:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a771711-0955-42f6-b116-23706237d6aa</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Well after a very long time of debugging and searching possibilities we&amp;#39;ve finally figured out that our timing is off.&lt;/p&gt;
&lt;p&gt;Our min and max connection interval were both set to 8,75ms. Using this between two Nordic microcontrollers worked seamlessly since we were both in control of the central and the peripheral.&lt;/p&gt;
&lt;p&gt;The times were set fixed in order to cope with our data throughput.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Connecting to an &amp;quot;OS&amp;quot; we were expecting the same behavior as it worked on our Nordic hardware, but oh boy were we wrong.&lt;/p&gt;
&lt;p&gt;We totally missed the part where the OS uses the Bluetooth link to always scan nearby devices and other things. If we would get our 8,75ms + 2120 us time, the OS would have no time to do all the other things.&lt;/p&gt;
&lt;p&gt;This is why we only received the 328 us, limiting our bandwith and providing the OS a moment to use the radio for other things.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When we relaxed the connection interval from 8,75-8,75 to 8,75 - 100, we get a maximum of 17040us. I believe the BLE NUS exampled worked but due to Bluetooth caching on the OS it kept the original settings thus always giving us the poor connection bandwidth.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Knowing all this, we&amp;#39;ve discovered that our device in development phase is unable to offload all data to an OS, thus we have to use a Nodic device to translate Bluetooth to USB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/509400?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 09:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c856bf5a-941b-4e5b-b921-b38e7478913b</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;I also accept no as an answer if there isnt any&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/507061?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 08:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac54ebb-c532-4244-9cfc-07984675b563</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Can anyone help me with what I am doing wrong here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/506492?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2024 11:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff8b4874-cfb2-4b06-8904-355b4dc5122f</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Any information yet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505700?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 10:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4ee3cde-f520-4527-b4ac-2d57ebd6a076</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Yea, Here is the capture from the nrfConnect SDK. I havent bothered uploading the nrf52 SDK as it was similar to the previous capture I have sent.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sdkConnectBleNus.pcapng"&gt;devzone.nordicsemi.com/.../sdkConnectBleNus.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505673?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c76162-a7db-4418-861e-1358eb61461f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could you upload these 2 sniffer traces ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505600?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 13:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a04a4227-356e-4e85-a6e1-93269c1169c9</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;I have tried a nrf connect example from visual code with the Bluetooth uart example and I got this as a response. The top is the length response from the connect sdk (where all is good) and the bottom is from using the nrf52 17.0.2 sdk (where I am having issues with the timing)&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/pastedimage1728482205883v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Are there major differences between the Bluetooth stack from connect sdk and sdk52?&amp;nbsp;&lt;br /&gt;Our code base is pretty mature and it would be quite the challenge to switch to the connect sdk as no one within our team has any experience with vs code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505339?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 12:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dbab14a-92f5-4612-985a-b24c42b1b433</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;If the LL_LENGTH_RSP for our connection is only limited to 328 us how is it possible that my Stadia controller gets a LL_LENGTH_RSP of 2120 us?&lt;br /&gt;&lt;br /&gt;This is the thing that baffles me. Surely there is something different in our way of advertising that causes the host to limit the maximum connection time.&lt;/p&gt;
&lt;p&gt;Is there a Nordic BLE example where it is guaranteed to have a connection time longer than 328 us?&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: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505316?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 11:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d55ebdcb-8835-4a52-b7d3-fb2eb7f094d9</guid><dc:creator>Sigurd</dc:creator><description>[quote user="T IJsselmuiden"]So basically there is no way for us to &amp;quot;present us&amp;quot; over Bluetooth to get what we want in timing?[/quote]
&lt;p&gt;You present what values you support in a&amp;nbsp;Data Length Update Procedure(LL_LENGTH_REQ /LL_LENGTH_RSP). Then based on what both sides of the link supports, they will find a common set of what values to use. See e.g. the &amp;quot;How to Enable DLE&amp;quot; chapter in this 3rd party blog post:&amp;nbsp;&lt;a href="https://punchthrough.com/maximizing-ble-throughput-part-3-data-length-extension-dle-2/"&gt;https://punchthrough.com/maximizing-ble-throughput-part-3-data-length-extension-dle-2/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505269?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 06:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2b4baa5-9c4f-45f1-a4b0-96c591e447a1</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;So basically there is no way for us to &amp;quot;present us&amp;quot; over Bluetooth to get what we want in timing?&lt;br /&gt;I remember sniffing my Bluetooth headset and Stadia controller and they get the requested data length and timing on both my phone and PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/505246?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 20:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b112c7b-c87f-491a-bcdb-9ca43e166bbf</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I had a look at the logs. We&amp;nbsp;can&amp;#39;t control from the peripheral side what the central supports, so I don&amp;#39;t see any ways to change the&amp;nbsp;&lt;span&gt;behavior you are seeing.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/504778?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 06:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7e37bcd-07de-4e9d-a8e1-46314ffbd4e9</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Certainly, here are two captures done one to a pc and one to a phone.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BleNUS_5F00_toPc.pcapng"&gt;devzone.nordicsemi.com/.../BleNUS_5F00_toPc.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BleNUS_5F00_toPhone.pcapng"&gt;devzone.nordicsemi.com/.../BleNUS_5F00_toPhone.pcapng&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope this helps out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect link settings to phone and windows pc</title><link>https://devzone.nordicsemi.com/thread/504694?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 12:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1305adb2-6afa-4d4b-8cba-559ac74bee84</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;To investigate this further, please capture sniffer traces for this, so we can see what&amp;#39;s happening on-air.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>