<?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 MQTT-SN Connection to gateway: Retransmission retries limit has been reached</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44589/nrf52840-mqtt-sn-connection-to-gateway-retransmission-retries-limit-has-been-reached</link><description>Hi, 
 My architecture is as following {CPU &amp;lt;-&amp;gt; nRF52840 subscriber &amp;lt;-&amp;gt; Raspi + nRF52840 Gateway &amp;lt;-&amp;gt; nRF52840 publisher &amp;lt;-&amp;gt; CPU} 
 I am working on Paho MQTT-SN programs, and everything was working good until yesterday: I could not connect my end-devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2019 09:06:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44589/nrf52840-mqtt-sn-connection-to-gateway-retransmission-retries-limit-has-been-reached" /><item><title>RE: nRF52840 MQTT-SN Connection to gateway: Retransmission retries limit has been reached</title><link>https://devzone.nordicsemi.com/thread/175564?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 09:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46d77299-8f80-4aab-a7e7-3915e9551c6e</guid><dc:creator>jelalanne</dc:creator><description>&lt;p&gt;Thank you for your help!&lt;/p&gt;
&lt;p&gt;For those who wants, here is a link to openthread where they explain how to use RTT logging.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/openthread/openthread/blob/master/examples/platforms/nrf52840/README.md"&gt;https://github.com/openthread/openthread/blob/master/examples/platforms/nrf52840/README.md&lt;/a&gt;&amp;nbsp;section &amp;quot; SEGGER J-Link tools&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 MQTT-SN Connection to gateway: Retransmission retries limit has been reached</title><link>https://devzone.nordicsemi.com/thread/175549?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 08:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eb44a23-fd7c-4f4e-b758-1532d046a809</guid><dc:creator>Edvin</dc:creator><description>[quote user="jelalanne"]How can I do that?[/quote]
&lt;p&gt;&amp;nbsp;What? Monitor the log or the Thread Topology Monitor?&lt;/p&gt;
&lt;p&gt;The RTT log can be monitored if you connect a debugger to the ncp device. Then open J-LINK RTT Viewer (you have to download this). It should give you some logging information. You should define DEBUG in your preprocessor defines. When this is done, it should give you some information whether or not the NCP device is running as expected, or if it has crashed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The Thread Topology Monitor you can find here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Thread-topology-monitor"&gt;https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Thread-topology-monitor&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Try it together with one device running the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Thread_SDK/v2-0-0/thread_cli_example"&gt;CLI example&lt;/a&gt; at first, just to make sure it is up and running before trying to monitor the NCP example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 MQTT-SN Connection to gateway: Retransmission retries limit has been reached</title><link>https://devzone.nordicsemi.com/thread/175432?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 15:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69bacbde-70bc-4954-9823-c7c1c0510d67</guid><dc:creator>jelalanne</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;How can I do that?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 MQTT-SN Connection to gateway: Retransmission retries limit has been reached</title><link>https://devzone.nordicsemi.com/thread/175341?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 13:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d2cf93b-e199-49f1-967c-ca81a3d1fe39</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try to enable logging (it should be enabled by default in the 2.0.0 version of the Thread SDK&amp;#39;s ncp example). Monitor the log of the NCP chip. Does it throw any errors in the log when you start up or try to connect?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, have you tried the Thread Topology Monitor? Are you able to see the network?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>