<?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>MQTT Publish Payload Size Limitation in Serial LTE Modem App 2.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91116/mqtt-publish-payload-size-limitation-in-serial-lte-modem-app-2-0-0</link><description>Hello, 
 Our tests and the MQTT publish documentation indicate a payload size limitation of 256 bytes for MQTT publish, which we see is set with an enum in slm_at_mqtt.c. Our understanding is that this limitation is smaller than in previous versions of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Aug 2022 09:53:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91116/mqtt-publish-payload-size-limitation-in-serial-lte-modem-app-2-0-0" /><item><title>RE: MQTT Publish Payload Size Limitation in Serial LTE Modem App 2.0.0</title><link>https://devzone.nordicsemi.com/thread/383847?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 09:53:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:825033a3-5bed-4e5a-8cff-4b8dd924de8a</guid><dc:creator>Kimberly </dc:creator><description>&lt;p&gt;Great, thanks. I tested the above and was able to send a &amp;gt;2kb string in datamode using the lte ink monitor. Around &amp;gt;2300 bytes, mosquitto received it as smaller packets of varying sizes.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT Publish Payload Size Limitation in Serial LTE Modem App 2.0.0</title><link>https://devzone.nordicsemi.com/thread/382713?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 13:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cf38a0a-d6a5-40e5-b356-50a4af947756</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Our tests and the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/AT_commands_intro.html"&gt;MQTT publish documentation &lt;/a&gt;indicate a payload size limitation of 256 bytes for&amp;nbsp;MQTT publish, which we see is set with an enum in slm_at_mqtt.c.[/quote]
&lt;p&gt;This is the limitation when Publish in command mode.&lt;/p&gt;
&lt;p&gt;When publish in data mode, it&amp;#39;s close to 4K.&lt;/p&gt;
&lt;p&gt;Used to be NET_IPV4_MTU(572) in command mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>