<?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>Making changes in &amp;quot;Server Setup&amp;quot; for &amp;quot;nRF52840 Dongle&amp;quot; in &amp;quot;nRF Connect for Desktop Bluetooth Low Energy&amp;quot; doesn&amp;#39;t save changes to dongle.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99156/making-changes-in-server-setup-for-nrf52840-dongle-in-nrf-connect-for-desktop-bluetooth-low-energy-doesn-t-save-changes-to-dongle</link><description>The &amp;quot;nRF52840 Dongle&amp;quot; defaults to a max length of 20 in all of the &amp;quot;General Access&amp;quot; characteristics and I&amp;#39;m trying to change that to a higher number. I change it to 60 for each of the characteristics, save each characteristic and then apply the changes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 May 2023 20:53:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99156/making-changes-in-server-setup-for-nrf52840-dongle-in-nrf-connect-for-desktop-bluetooth-low-energy-doesn-t-save-changes-to-dongle" /><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424092?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 20:53:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:543b41c2-1862-4807-b96c-b891f67ed1be</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;Found it. The below defaulted to...&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; CONFIG_BT_L2CAP_TX_MTU &lt;/span&gt;&lt;span&gt;65&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; CONFIG_BT_BUF_ACL_TX_SIZE &lt;/span&gt;&lt;span&gt;27&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; CONFIG_BT_BUF_ACL_RX_SIZE &lt;/span&gt;&lt;span&gt;69&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;...in the autoconf.h. That&amp;#39;s where my 65 limit came from.&lt;/p&gt;
&lt;p&gt;In my prj.conf, added the below...&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_L2CAP_TX_MTU&lt;/span&gt;&lt;span&gt;=247&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_BUF_ACL_RX_SIZE&lt;/span&gt;&lt;span&gt;=251&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_BUF_ACL_TX_SIZE&lt;/span&gt;&lt;span&gt;=251&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;...and like magic...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&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/pastedimage1683319946368v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;...I can send even more bytes.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I think our work here is done. Thanks you so much!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424088?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 19:58:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:169415de-206f-42ba-8c07-18d793e83e6f</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840-connect.pcapng"&gt;devzone.nordicsemi.com/.../nrf52840-connect.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I think this might be what you are looking for.&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/pastedimage1683316647514v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424087?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 19:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:999b88ed-a030-4908-9b79-9c4508b05c6f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Could you capture the sniffer log while you are getting the RTT log?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424084?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 18:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be3f807-d064-4019-a3cc-2e7b989d1e29</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;I think we are onto something here. I added the missing code to the&amp;nbsp;connected_cb callback function. I&amp;#39;m not getting a connect event as you describe above but I suggests 63 bytes now instead of the 23 before. At least we are moving in the right direction.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683312552925v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;This can now be seen in the RTT Console when I connect.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683312702166v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Question is... where is it picking up this 65 when my default_mtu value in the Python app 250?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve confirmed that I can now transmit 61 bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424071?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 17:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f3c7ed-e663-4795-8248-5b4ca30dfaa9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From your log, I don&amp;#39;t see any connect event. You should see something like this if the center or peripheral requests MTU update.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683305870404v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You&amp;nbsp;should check if the MTU exchange has actually happened or not. In some of our examples where the peripheral is configured to automatically initiate MTU exchange, the Python script central will automatically give a MTU Exchange Response with the value in &lt;code&gt;default_mtu&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If the peripheral does not initiate, then the central has to.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/424048?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 14:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3470463-ed3c-4c6f-ab8b-c618fcb75660</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;I captured these logs. Filter on source d3:f1:4b:b8:32:d6. If you scroll down about half way, that&amp;#39;s all you&amp;#39;ll see. It advertises Orbis_HQEA100052. It does show 23 bytes which means the Python is ignoring the&amp;nbsp;&lt;span&gt;self&lt;/span&gt;.adapter.default_mtu = &lt;span&gt;250&lt;/span&gt;&amp;nbsp;setting. On Android it shows 53 bytes.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840-to-nRF52-Dongle.pcapng"&gt;devzone.nordicsemi.com/.../nrf52840-to-nRF52-Dongle.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/nrf52840-to-android.pcapng"&gt;devzone.nordicsemi.com/.../nrf52840-to-android.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423843?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 15:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22d3195b-506d-4925-a4db-cf4b13af0fbc</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;I&amp;#39;ll try again tomorrow when I bring my work laptop in from home.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423812?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 13:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef041607-c2e0-4f4e-9a9d-e3f222f1bd35</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You need an extra device to run the sniffer.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423807?ContentTypeID=1</link><pubDate>Thu, 04 May 2023 13:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbff9305-5b4d-4dd7-9568-89efc4547766</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;I did finally get this to work as demonstrated by the below screen shot.&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/pastedimage1683206367727v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems like the nRF52840 Dongle conflicts with all this. If I get&amp;nbsp;my device talking with our tool via the dongle, then WireShark won&amp;#39;t display the nRF Sniffer. If WireShark is displaying the nRF Sniffer, I can&amp;#39;t connect to the dongle with our tool. It&amp;#39;s like I need a separate computer to run the WireShark and the DK board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423627?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 20:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de99e993-c019-4245-858c-d668bff14198</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;I would suggest to uninstall&amp;nbsp;&lt;span&gt;WireShark, and delet the&amp;nbsp;Wireshark folder under C:\Program Files\Wireshark and&amp;nbsp;C:\Users\YourUserName\AppData\Roaming\Wireshark, and then refer to &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;this guide&lt;/a&gt; to install again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423625?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 19:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:681852c5-590f-480e-90c6-9e541de0a884</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;Even though I removed the nrf sniffer from the&amp;nbsp;extcap folder, it freezes when the app loads. It&amp;#39;s trying to laod an external plugin I deleted. It did the same thing when the external plugin was installed. I&amp;#39;ve uninstalled WireShark and reinstalled it numerous times. Even deleted the program folder after uninstall. I can&amp;#39;t even run the program at this point.&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/pastedimage1683142375941v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423621?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 18:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85bbfe27-1359-4730-a212-cf8afc7b4d52</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Which DK and HW version are you using to run the&amp;nbsp;&lt;span&gt;nRF Sniffer? If you are using nRF52840 DK v3.0.0, please use the USB port.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you check the steps in&amp;nbsp;&lt;a title="Installing the nRF Sniffer capture tool" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/installing_sniffer_plugin.html?cp=11_5_2_3"&gt;Installing the nRF Sniffer capture tool&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="Adding a Wireshark profile for the nRF Sniffer" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/adding_profile.html?cp=11_5_2_4"&gt;Adding a Wireshark profile for the nRF Sniffer&lt;/a&gt;?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423616?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 16:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b40b10a2-45b7-421d-8962-22e4541a6d34</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;That tutorial was what I needed but unfortunately, WireShark becomes unresponsive when trying to load the nrf_sniffer interface. I even tried using the previous stable version. Not sure what to do now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423562?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 12:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65800e89-9d52-4e1e-af90-f1d9d94ef630</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hope &lt;a href="https://academy.nordicsemi.com/lessons/lesson-6-bluetooth-le-sniffer/"&gt;this tutorial&lt;/a&gt; could help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423392?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 19:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78f7497c-b734-4d33-be18-f6043d06473a</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;That&amp;#39;s what I&amp;#39;m reading and not getting much out of it. I&amp;#39;ll try again tomorrow morning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423390?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 19:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f55ca773-a827-479a-bcac-a015db4b2e95</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can follow &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;the guide&lt;/a&gt;&amp;nbsp;to &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/installing_sniffer.html"&gt;Installing the nRF Sniffer&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="Running the nRF Sniffer" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/running_sniffer.html?cp=11_5_3"&gt;Running the nRF Sniffer&lt;/a&gt;. The&amp;nbsp;&lt;a title="nRF Sniffer usage" href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/sniffer_usage.html?cp=11_5_4"&gt;nRF Sniffer usage&lt;/a&gt;&amp;nbsp;doc would show you how to use it.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423385?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 18:42:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac4fc30-bcc4-466e-ae53-701ba3ed203a</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;I installed WireShark and downloaded the sniffer. I&amp;#39;ve never worked with these tools before and the instructions are written for people with experience. I have no clue what I&amp;#39;m even looking at. No clue how your python app works with&amp;nbsp;&lt;span&gt;WireShark.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m surprised there&amp;#39;s nothing to this effect already built into your &amp;quot;Bluetooth Low Energy&amp;quot; app in nRF Connect for Desktop.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423330?ContentTypeID=1</link><pubDate>Tue, 02 May 2023 13:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f7a16b-b21d-46c2-adb4-90df8f4f6f87</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Maybe you can do a sniffer trace to see if the MTU is actually updated? That should also show if there are other configurations that can cause the limitation. If you could provide the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer&lt;/a&gt; log, it could help to investigate the issue.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423121?ContentTypeID=1</link><pubDate>Mon, 01 May 2023 14:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a807857f-2ea0-4bc7-aef5-7713ddb18335</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;Looks like the defaults are already set to the max.&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/ble_driver.py#L1776"&gt;https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/ble_driver.py#L1776&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s two observes for the data length but they are not being called. I added the observers but my break points are not getting hit. I can&amp;#39;t override the function you highlighted. Not sure where this fixed size of 20 bytes is coming from.&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/observers.py#L64"&gt;github.com/.../observers.py&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/423062?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 17:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1fab9e8-9348-4a3e-a752-abdf0c1997e7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could try to increase the data_length with&amp;nbsp;&lt;a title="https://github.com/nordicsemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/ble_adapter.py#l252" href="https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/ble_adapter.py#L252"&gt;https://github.com/NordicSemiconductor/pc-ble-driver-py/blob/master/pc_ble_driver_py/ble_adapter.py#L252&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/422768?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 13:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e172eaec-bcfe-45e4-82f4-38a3f7e74a43</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;If I am to set the MTU prior to pairing, then how do I accomplish this within python using your &lt;span&gt;pc-ble-driver-py Python package&lt;/span&gt;? I wrote a Python tool using your pc-ble-driver-py v0.17.0 to pull test data through BLE but I&amp;#39;m limited to 20 byte packets.&amp;nbsp;The real goal is to&amp;nbsp;not be limited to 20 byte packets. Thought I had to set the dongle for this. Connecting to the the BLE via your Android app nRT Toolbox is not limited to 20 byte packets, more like 60 byte packets.&lt;/p&gt;
&lt;p&gt;I set the default MTU to 250 but yet I&amp;#39;m limited to 20 byte packets.&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Line 46: self&lt;/span&gt;.adapter.default_mtu = &lt;span&gt;250&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Below is the relevant code that directly connects to your Python package. Any ideas?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="python"&gt;# Hard code the conn_ic_id because this is the only one we will use
# and the pc_ble_driver_py Python library checks the value
from pc_ble_driver_py import config
config.__conn_ic_id__ = &amp;#39;NRF52&amp;#39;

from pc_ble_driver_py.observers import *
from pc_ble_driver_py.ble_adapter import BLEAdapter
from pc_ble_driver_py.ble_driver import (
        BLEDriver,
        BLEAdvData,
        BLEEvtID,
        BLEEnableParams,
        BLEGapTimeoutSrc,
        BLEUUID,
        BLEGapScanParams,
        BLEConfigCommon,
        BLEConfig,
        BLEConfigConnGatt,
        BLEConfigConnGap
    )
import time, logging

class NordicBleDriver(BLEDriverObserver, BLEAdapterObserver):
    def __init__(self, comport=None, notificationCallback=None, connectCallback=None, disconnectCallback=None, timeoutCallback=None):
        super(NordicBleDriver, self).__init__()
        self.comport = comport
        self.adapter = None
        self.scanCapture = []
        self.active_conn = {}
        self.notificationCallback = notificationCallback
        self.connectCallback = connectCallback
        self.disconnectCallback = disconnectCallback
        self.timeoutCallback = timeoutCallback

    def open(self, comport=None, conn_count=1):
        &amp;#39;&amp;#39;&amp;#39;
        Open the connection to the comport
        &amp;#39;&amp;#39;&amp;#39;
        if comport:
            self.comport = comport

        driver = BLEDriver( serial_port=self.comport, auto_flash=False, baud_rate=1000000, log_severity_level=&amp;quot;info&amp;quot;)
        self.adapter = BLEAdapter(driver)
        self.adapter.observer_register(self)
        self.adapter.driver.observer_register(self)
        self.adapter.default_mtu = 250
        self.adapter.driver.open()
        gatt_cfg = BLEConfigConnGatt()
        gatt_cfg.att_mtu = self.adapter.default_mtu
        gatt_cfg.tag = 1
        self.adapter.driver.ble_cfg_set(BLEConfig.conn_gatt, gatt_cfg)
        gap_cfg = BLEConfigConnGap()
        gap_cfg.conn_count = conn_count
        self.adapter.driver.ble_cfg_set(BLEConfig.conn_gap, gap_cfg)
        self.adapter.driver.ble_enable()

    def close(self):
        &amp;#39;&amp;#39;&amp;#39;
        Close the connection to the comport
        &amp;#39;&amp;#39;&amp;#39;
        self.adapter.driver.close()
        self.adapter = None

    def scan(self, blocking = True, scan_duration = 5):
        &amp;#39;&amp;#39;&amp;#39;
        Scan for other BLE devices
        &amp;#39;&amp;#39;&amp;#39;
        self.scanCapture = []
        params = BLEGapScanParams(interval_ms=200, window_ms=150, timeout_s=scan_duration)
        self.adapter.driver.ble_gap_scan_start(scan_params=params)
        if blocking:
            time.sleep(scan_duration)

    def advertise(self):
        &amp;#39;&amp;#39;&amp;#39;
        Advertise this BLE
        &amp;#39;&amp;#39;&amp;#39;
        adv_data = BLEAdvData(complete_local_name=&amp;quot;nordic_ble_driver_py&amp;quot;)
        self.adapter.driver.ble_gap_adv_data_set(adv_data)
        self.adapter.driver.ble_gap_adv_start()

    def connect(self, peer_addr, blocking = True):
        &amp;#39;&amp;#39;&amp;#39;
        Connect to a peer address
        &amp;#39;&amp;#39;&amp;#39;
        self.adapter.connect(peer_addr, tag=1)
        if blocking:
            while(self.adapter.conn_in_progress):
                time.sleep(0.5)

    def disconnect(self, conn_handle):
        &amp;#39;&amp;#39;&amp;#39;
        Disconnect from peer address
        &amp;#39;&amp;#39;&amp;#39;
        self.adapter.disconnect(conn_handle)

    def disconnectAll(self):
        &amp;#39;&amp;#39;&amp;#39;
        Disconnect from peer address
        &amp;#39;&amp;#39;&amp;#39;
        keys = self.active_conn.copy().keys()
        for x in keys:
            self.adapter.disconnect(x)

    def discoverServices(self, conn_handle):
        &amp;#39;&amp;#39;&amp;#39;
        Discover the services
        &amp;#39;&amp;#39;&amp;#39;
        try:
            self.adapter.service_discovery(conn_handle)
        except Exception as e:
            logging.info(str(e))

    def enableNotification(self, conn_handle, uuid):
        &amp;#39;&amp;#39;&amp;#39;
        Enable the notifications
        &amp;#39;&amp;#39;&amp;#39;
        try:
            self.adapter.enable_notification(conn_handle, uuid)
        except Exception as e:
            logging.info(str(e))

    def write(self, conn_handle, uuid, data):
        &amp;#39;&amp;#39;&amp;#39;
        Write data to device
        &amp;#39;&amp;#39;&amp;#39;
        try:
            self.adapter.write_req(conn_handle, uuid, data)
        except Exception as e:
            logging.info(str(e))

    def getUUID(self, conn_handle, serviceUUID, charUUID):
        &amp;#39;&amp;#39;&amp;#39;
        Get the UUID of the value
        &amp;#39;&amp;#39;&amp;#39;
        if conn_handle != None:
            for s in self.adapter.db_conns[conn_handle].services:
                if s.uuid.value == serviceUUID:
                    for c in s.chars:
                        if c.uuid.value == charUUID:
                            return c.uuid
        return None

    def addToList(self, name, peer_addr):
        &amp;#39;&amp;#39;&amp;#39;
        Add connect to list keeping out the duplicates
        &amp;#39;&amp;#39;&amp;#39;
        found = False
        for x in self.scanCapture:
            if x[&amp;#39;name&amp;#39;] == name and get_addr_str(x[&amp;#39;peer_addr&amp;#39;]) == get_addr_str(peer_addr):
                found = True
                break

        if not found:
            self.scanCapture.append({&amp;#39;name&amp;#39;: name, &amp;#39;peer_addr&amp;#39;: peer_addr})

    def on_gap_evt_adv_report(self, ble_driver, conn_handle, peer_addr, rssi, adv_type, adv_data):
        &amp;#39;&amp;#39;&amp;#39;
        Observer call back during a scan
        &amp;#39;&amp;#39;&amp;#39;

        if BLEAdvData.Types.complete_local_name in adv_data.records:
            self.addToList(bytes(adv_data.records[BLEAdvData.Types.complete_local_name]), peer_addr)

        elif BLEAdvData.Types.short_local_name in adv_data.records:
            self.addToList(bytes(adv_data.records[BLEAdvData.Types.short_local_name]), peer_addr)

    def on_notification(self, ble_adapter, conn_handle, uuid, data):
        &amp;#39;&amp;#39;&amp;#39;
        On notification message handler
        &amp;#39;&amp;#39;&amp;#39;
        if self.notificationCallback:
            # Send a copy so as to not get over written
            self.notificationCallback(ble_adapter, conn_handle, uuid, data.copy())
        else:
            logging.info(&amp;quot;Connection: {}, {} = {}&amp;quot;.format(conn_handle, uuid, data))

    def on_gap_evt_connected(self, ble_driver, conn_handle, peer_addr, role, conn_params):
        &amp;#39;&amp;#39;&amp;#39;
        On connected message handler
        &amp;#39;&amp;#39;&amp;#39;
        # Find the advertised name
        addr = peer_addr.addr
        adv_name = &amp;#39;&amp;#39;
        for x in self.scanCapture:
            if addr == x[&amp;#39;peer_addr&amp;#39;].addr:
                adv_name = x[&amp;#39;name&amp;#39;]
                break

        self.active_conn[conn_handle] = {&amp;#39;adv_name&amp;#39;: adv_name.decode(), &amp;#39;peer_addr&amp;#39;: peer_addr.addr}
        if self.connectCallback:
            self.connectCallback(ble_driver, conn_handle, adv_name.decode(), peer_addr, role, conn_params)
        else:
            logging.info(&amp;quot;New connection: {}&amp;quot;.format(conn_handle))

    def on_gap_evt_disconnected(self, ble_driver, conn_handle, reason):
        &amp;#39;&amp;#39;&amp;#39;
        On disconnected message handler
        &amp;#39;&amp;#39;&amp;#39;
        if conn_handle in self.active_conn:
            del self.active_conn[conn_handle]

        if self.disconnectCallback:
            self.disconnectCallback(ble_driver, conn_handle, reason)
        else:
            logging.info(&amp;quot;Disconnected: {} {}&amp;quot;.format(conn_handle, reason))

    def on_gap_evt_timeout(self, ble_driver, conn_handle, src):
        &amp;#39;&amp;#39;&amp;#39;
        On disconnected message handler
        &amp;#39;&amp;#39;&amp;#39;

        if self.timeoutCallback:
            self.timeoutCallback(ble_driver, conn_handle, src)
        else:
            logging.info(&amp;quot;timeout: {} {}&amp;quot;.format(conn_handle, src))

    def get_addr_str(self, peer_addr):
        return get_addr_str(peer_addr)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/422755?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 13:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467c509d-6680-4b65-8dd0-3a6713ccd6d2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From your screenshot, you are&amp;nbsp;setting the max length of a characteristic to 60. This is not the same as setting the data length of a connection. And in the code snippet, it looks like the MTU is logged, not the data length. To set the Data Length or MTU in the nRF Connect BLE app, see this screenshot:&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/1108.pastedimage1682600771224v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/422595?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 19:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78210dfd-86eb-4c5f-9e9d-223d14679798</guid><dc:creator>GameCodingNinja</dc:creator><description>&lt;p&gt;Yep, I&amp;#39;ve done that but that&amp;#39;s not the problem. The changes don&amp;#39;t seem to be getting saved to the dongle. Even though I changed the max data length to 60, the BLE code in my 52840 still reports 20 when making a connection to the dongle.&lt;/p&gt;
&lt;p&gt;Also, see the attached screen shot above.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//
// BLE connected callback
//
static void connected_cb(struct bt_conn *conn, uint8_t err)
{
    char addr[BT_ADDR_LE_STR_LEN];

    if (err)
    {
        LOG_DBG(&amp;quot;Connection failed (err %u)&amp;quot;, err);
        return;
    }

    bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr));
    current_conn = bt_conn_ref(conn);

    LOG_INF(&amp;quot;Connected %s; Max data length: %u&amp;quot;, addr, bt_nus_get_mtu(current_conn));
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making changes in "Server Setup" for "nRF52840 Dongle" in "nRF Connect for Desktop Bluetooth Low Energy" doesn't save changes to dongle.</title><link>https://devzone.nordicsemi.com/thread/422593?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 19:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18fb4b50-0048-4625-b4bc-e495fa5b9051</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can save the setup and load it when you need. See&amp;nbsp;&lt;a title="Configuring server setup" href="https://infocenter.nordicsemi.com/topic/ug_nrfconnect_ble/UG/nRF_Connect_BLE/nRF_Connect_Maintaining_server_setup.html?cp=11_3_0_8"&gt;Configuring server setup&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>