<?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>Failed to send a packet larger than 20 bytes over BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89231/failed-to-send-a-packet-larger-than-20-bytes-over-ble</link><description>Hi, 
 I tried to send a packet larger than 20 bytes by calling bt_nus_send on peripheral_uart but failed. 
 After checked on DevZone, I found some similar problem and did the following changes: 
 1. Add some configs in pri.conf: 
 
 
 
 2. Calling bt_conn_le_data_len_update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2022 07:31:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89231/failed-to-send-a-packet-larger-than-20-bytes-over-ble" /><item><title>RE: Failed to send a packet larger than 20 bytes over BLE</title><link>https://devzone.nordicsemi.com/thread/373833?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 07:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:038b331c-9552-4e7c-aad5-387796219145</guid><dc:creator>Joyop</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&amp;nbsp;I&amp;#39;ll look into this sample and come back with my progress.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to send a packet larger than 20 bytes over BLE</title><link>https://devzone.nordicsemi.com/thread/373676?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2022 12:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a8cf46-b685-4bf3-ae2d-8f045fba74e3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Maybe you are trying to send the data too early since longer MTUs are negotiated after the connection is established. Could you please try the sample I posted here: &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85258/comunicating-at-least-300-kbp-s-via-ble-nrf5340-with-android-phones"&gt;Comunicating at least 300 kbp/s via BLE nrf5340 with Android phones&lt;/a&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>