<?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>Increasing MTU size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68034/increasing-mtu-size</link><description>Board: nRF52840DK 
 SDK: 15.3.0 
 Softdevice: 6.11 
 
 I am trying to increase the MTU size in order to read more data on the peripheral. I have tried to increase the NRF_SDH_BLE_GATT_MAX_MTU_SIZE to anything above 26 and the UART logs stops printing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2020 11:23:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68034/increasing-mtu-size" /><item><title>RE: Increasing MTU size</title><link>https://devzone.nordicsemi.com/thread/278977?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 11:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0752e72c-1ac4-4b8c-b014-d8b537b3e257</guid><dc:creator>Aamir</dc:creator><description>&lt;p&gt;Hi Vidar, thank you so much for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am so sorry for the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For some weird reasons, the crash log wasn&amp;#39;t getting printed even though normal logs were working fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, I took to the &amp;#39;blinky&amp;#39; example and changed the size of MTU over there, as expected the crash log got printed and I got the RAM START address and MAX RAM printed over there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I simply copied those values in my project and everything is working fine now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing MTU size</title><link>https://devzone.nordicsemi.com/thread/278787?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 13:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa6b714a-99d1-4788-9cc1-a61bc909c9bc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please try to compare you configuration with the peripheral ble_app_uart example. This example is set up by default to support MTU=247 and a 251 byte radio packet length. Also, are you calling nrf_sdh_ble_default_cfg_set() when initializing the Softdevice? This ensures that the Softdevice configurations from sdk_config.h actually gets applied.&lt;/p&gt;
[quote user=""]the app crashes with &amp;quot;fatal error&amp;quot;, [/quote]
&lt;p&gt;You should get a more detailed crash log if you build the project with &amp;quot;DEBUG&amp;quot; globally defined. If you use Segger embedded studio, ot becomes defined if you change from the Release to the Debug configuration.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4276.pastedimage1604668220270v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>