<?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>Problems to increase MQTT payload size for more than 2kb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121406/problems-to-increase-mqtt-payload-size-for-more-than-2kb</link><description>Hi everyone, 
 In nRF9160 with ncs 2.9.0 I&amp;#39;ve problems when trying publish a MQTT payload bigger than 2700 bytes aproximately. In advanced I already was adequated buffer size and put 
 &amp;quot;CONFIG_MQTT_MESSAGE_BUFFER_SIZE=4096 CONFIG_MQTT_PAYLOAD_BUFFER_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 May 2025 08:37:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121406/problems-to-increase-mqtt-payload-size-for-more-than-2kb" /><item><title>RE: Problems to increase MQTT payload size for more than 2kb</title><link>https://devzone.nordicsemi.com/thread/535277?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 08:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51dc86dc-9cfe-4bf5-9204-c6e1abf0ed63</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;if you are using TLS then it won&amp;#39;t work. The modem TLS data buffer is limited to 2KB, so any payloads bigger than that are not guaranteed to work. You can look at the MbedTLS stack instead if you want to increase the payload size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>