<?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>How to increase MTU of NRF52840 to 247?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83335/how-to-increase-mtu-of-nrf52840-to-247</link><description>Hi there, I am developing a peripheral to central system with nrf52840 base on NUS service. Now I tried to increase the MTU of the peripheral to 247 to increase the transfer rate. I modified the NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 247 and NRF_SDH_BLE_GAP_DATA_LENGTH</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jan 2022 08:39:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83335/how-to-increase-mtu-of-nrf52840-to-247" /><item><title>RE: How to increase MTU of NRF52840 to 247?</title><link>https://devzone.nordicsemi.com/thread/346055?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 08:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a37a2fc5-2709-4ac0-8584-5043a7a984aa</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The 31 bytes you&amp;#39;re seeing is only the advertising packet transmitted over BLE (you can see this from the info column in Wireshark). The MTU size is negotiated and set once the device connects to a device and is ready to transmit data in the connection. If you want to increase the size of your advertising packet you should check out extended advertising in &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/bluetooth-5-advertisements-extended-and-periodic-a"&gt;this blog post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>