<?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>NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36994/nrf52840-thread-publish-max-payload-length</link><description>Hi, 
 What&amp;#39;s is the max length for the payload data in &amp;quot;mqttsn_packet_sender_publish&amp;quot; method? 
 EDIT: 
 Redefining my question above: What&amp;#39;s is the max length for the payload data in &amp;quot;mqttsn_packet_sender_publish&amp;quot; method, for sending only one packet of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Aug 2018 08:39:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36994/nrf52840-thread-publish-max-payload-length" /><item><title>RE: NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/thread/142322?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 08:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c245bf-1d17-4264-8fdf-6783ac0d2265</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hmm that is dependent on the MQTTSN protocol overhead who in turn is dependent on the&amp;nbsp;Thread stack overhead (UDP packet over 6LoWPAN), and both MQTTSN and 6LoWPAN probably have options and configurations that increase/decrease that overhead. We&amp;#39;re a bit short staffed during the summer vacation, but i&amp;#39;ll try to find an answer, it&amp;#39;s buried in the Thread and MQTTSN spec somewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/thread/142261?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 20:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd93c19b-9c21-483d-bbd8-1c6d4fbb3d3d</guid><dc:creator>Leandro Zimmer</dc:creator><description>&lt;p&gt;Thank you. I understand. Then I redefine my question.&lt;br /&gt;&lt;span&gt;What&amp;#39;s is the max length for the payload data in &amp;quot;mqttsn_packet_sender_publish&amp;quot; method, for sending&amp;nbsp;only one packet of 127bytes, without&amp;nbsp;fragmentation?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/thread/142201?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 13:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2574dfa0-ea50-42be-9a64-b724d2d02cc4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Max packet length of 802.15.4 MAC layer is 127 bytes&amp;nbsp;and the 6LoWPAN layer will dis/assemble its packets to/from 127 byte MAC layer packets. This means that from the application perspective you can operate on packets much larger than 127 bytes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/thread/142182?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 13:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4211639-0084-4d32-a8aa-b90d30ad28f8</guid><dc:creator>Leandro Zimmer</dc:creator><description>&lt;p&gt;My question is because of the specifications:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;IEEE 802.15.4 &amp;ndash; 127 bytes (payload)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Thread publish max payload length</title><link>https://devzone.nordicsemi.com/thread/142165?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 12:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e28bc5c8-ef6c-4783-8269-168a2c593b68</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I believe the maximum message length is 2^16 bytes as the set and get length functions operate with uint16_t, given that there is enough space in the buffer and message queue ofc.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>