<?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 data limit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115067/mqtt-data-limit</link><description>Hi, Using ncs v2.7 on the nrf9160, is there a data limit using MQTT to communicate with Azure IoT Hub per message? I&amp;#39;m trying to determine if I will need to chunk my telemetry data into multiple messages or if I can fit it all into one message.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Oct 2024 15:46:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115067/mqtt-data-limit" /><item><title>RE: MQTT data limit</title><link>https://devzone.nordicsemi.com/thread/504729?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 15:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0a95c2-9c01-45ac-b72c-57b6b1930219</guid><dc:creator>dave</dc:creator><description>&lt;p&gt;Thanks. You are correct we&amp;#39;re using MQTT with TLS&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not familiar with the difference between the stacks and will do some research, but&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does the mbedTLS&amp;nbsp; stack have a data limit?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Aside from the data limit are there any advantages / disadvantages to using one over the other?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a low power system and need an average current of 300 uA max if that makes a difference. In general we will be transmitting data about 10 times a day and may run over 2kB per message ( maybe not for every message, hard to know). We can chunk the data if necessary&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MQTT data limit</title><link>https://devzone.nordicsemi.com/thread/504640?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 09:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25fb3415-c86b-43d9-ad3c-cdb96e1ada38</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Using ncs v2.7 on the nrf9160, is there a data limit using MQTT to communicate with Azure IoT Hub per message?[/quote]
&lt;p&gt;I&amp;#39;m assuming you are using MQTT with TLS, and in that case there is a TLS buffer limit of 2 KB. This can be avoided by using the mbedtls stack instead of the modem lib TLS stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>