<?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-SN Max Packet ID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69642/mqtt-sn-max-packet-id</link><description>Hello, 
 I&amp;#39;m using SDK for Thread and Zigbee v4.1 and I developed a network using mqtt-sn library. Since the developed application requires data publishing at a high rate, I noticed a possible bug in the mqttsn_packet_sender.c file. 
 Function mqttsn_packet_sender_publish</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Dec 2020 15:56:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69642/mqtt-sn-max-packet-id" /><item><title>RE: MQTT-SN Max Packet ID</title><link>https://devzone.nordicsemi.com/thread/285891?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 15:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4792787-7cef-4245-bc97-3cf99567a497</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your report.&lt;/p&gt;
&lt;p&gt;While I don&amp;#39;t usually work with our Thread and Zigbee SDK, it looks like you are right.&lt;/p&gt;
&lt;p&gt;I will report this to our developers.&lt;/p&gt;
&lt;p&gt;Your fix should solve the problem, though I would probably change the implementation of next_packet_id_get() instead, to always set the value of p_client-&amp;gt;message_id.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>