<?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>Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50975/distance-for-the-node-to-connect-to-the-gateway-mqtt-sn</link><description>Hi all, 
 I have a question. 
 When I try send message coap, it can send as mesh network. 
 But when I send search gateway msg, connect msg from publish (subscribe) Node to NCP. Seem it can&amp;#39;t send as mesh network. I have to put Node in the coverage area</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 16:06:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50975/distance-for-the-node-to-connect-to-the-gateway-mqtt-sn" /><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/300758?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 16:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2c66aa9-47f0-43dd-ac22-cc99a2156c6b</guid><dc:creator>Deri</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$sudo nano /etc/paho-mqtt-sn-gateway.conf
..
..
# UDP6
GatewayUDP6Port=47193
GatewayUDP6Broadcast=ff33:40:fdde:ad00:beef:0:0:1
GatewayUDP6If=wpan0
GatewayUDP6Hops=5
..
..&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/242533?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 18:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b91c0d26-7e68-420d-9c3c-bd717bb3a970</guid><dc:creator>jebentancour</dc:creator><description>&lt;p&gt;Can you show me where did you set it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/228924?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 06:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7ec4836-b4dc-43f6-b401-c50d4c86ce1e</guid><dc:creator>LucD</dc:creator><description>&lt;p&gt;Adding some lines the paho MQTT-SN gateway code to set the multicast hop (in my case I picked 5) fixed the issue, as the default value is 1 if you do not set this option and thus the GWINFO message doesn&amp;#39;t get broadcasted past the initial hop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/228914?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 02:52:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f4bd94-2f89-4044-a76f-ba90690fb554</guid><dc:creator>LucD</dc:creator><description>&lt;p&gt;I&amp;#39;ve just setup a network sniffer and the GWINFO msg is broadcasted with hoplimit = 1, I assume this will prevent if from reaching any nodes down the network tree. How can this setting be changed? I don&amp;#39;t know if this is hardcoded in the ncp firmware, set from the OpenThread Border Router software or something in the paho MQTT-SN gateway config.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/MQTT_2D00_SN_5F00_GWINFO_5F00_hoplimit.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/228913?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 02:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdbe9997-c335-4c09-85e5-f4777b453c49</guid><dc:creator>LucD</dc:creator><description>&lt;p&gt;I&amp;#39;ve been working on the Thread and MQTT-SN in combination with the nRF52840 for a while now and started out from the SED examples provided, I&amp;#39;m using the paho gateway and everything works fine when SED nodes are directly connected to the border router for gateway discovery. Now I&amp;#39;m running into similar issues that nodes cannot discover the gateway if they connect via another router node(so there is one hop in between the node that wants to join and the gateway). The SEARCHGW message is send successfully and gateway replies with a GWINFO broadcast, but the node trying to connect never seems to get this broadcast message and give a gateway search timeout response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This severely limits the use of Thread, as only direct links to the gateway are currently possible. Even with radio RX on when idle the node doesn&amp;#39;t seem to receive the broadcast message send to ff03::1, what could be causing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/205052?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 13:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57ad71dd-28a7-471e-9af0-b46d98ccae7c</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;How do you verify the Thread topology?&lt;/p&gt;
&lt;p&gt;Can you please use the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Thread-topology-monitor"&gt;Thread topology monitor&lt;/a&gt; and post a screenshot of the topology?&lt;/p&gt;
&lt;p&gt;And also provide me with some radio traffic dump using the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v3.1.0%2Fnrf802154_sniffer.html&amp;amp;cp=5_3_4_3_0"&gt;nRF Sniffer&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/204801?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 13:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36eafca3-db12-4d5a-bcd9-853088a1be44</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi I checked and this is result.&lt;/p&gt;
&lt;p&gt;If I put NCP -&amp;gt; Node 1 -&amp;gt; Node 2 -&amp;gt; Node 3 -&amp;gt; Node 4.&lt;/p&gt;
&lt;p&gt;And I send discovery gateway from Node 4 . The message go to NCP, and NCP return a INFOGATEWAY. But this message go to Node 1 -&amp;gt; Node 2 -&amp;gt; Node 3. But Node 4 can&amp;#39;t receiver.&amp;nbsp;&lt;span&gt;Although I have put Node 4 pole near Node 3. But Node 4 still can&amp;#39;t receiver message.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/204646?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 07:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:998dc197-39cd-49a0-973b-25136bfcbd8c</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi AndreasF,&lt;/p&gt;
&lt;p&gt;Sorry because slow reply. I very busy.&lt;/p&gt;
&lt;p&gt;When I put NCP -&amp;gt; Node 1 -&amp;gt; Node 2 in a straight line. Next, I send discovery message from Node 2 to NCP.&amp;nbsp;&lt;span&gt;The purpose is to Node 2 can connect to MQTTSN-GATEWAY via Node 1, If I turn off Node 1, Node 2 can&amp;#39;t send any message. So when I send discovery connect from Node 2. I see in Raspi, It can receiver this message. But in Node 2 I see it run event&amp;nbsp;MQTTSN_SEARCH_GATEWAY_NO_GATEWAY_FOUND.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Below is log in Node 2 and raspi :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1566198877460v2.png" alt=" " /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1566198851541v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you !!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/204075?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 12:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b36cb9-0969-41a7-9f18-a91d4a764634</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you have any chance to provide me with some logs?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/204059?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 12:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f42e04af-e83c-4736-8e43-c54b2b7128fe</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Thank for reply,&lt;/p&gt;
&lt;p&gt;1. Yep, When I put&amp;nbsp;&lt;span&gt;NCP - Node1 - Node2&amp;nbsp;in a straight line. Node 1 can connect to MQTT Gateway but Node 2 can&amp;#39;t. It mean Node 2 can&amp;#39;t send&amp;nbsp; discovery and connect message to NCP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. If I put Node 1 near NCP and connect Node 1 to MQTT Gateway. Then I put Node 2 near NCP and connect Node 2 to MQTT Gateway. Then I put&amp;nbsp;NCP - Node1 - Node2&amp;nbsp;in a straight line. Node 2 can send data to MQTT Gateway and control Node 1 as pub-sub Node.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I don&amp;#39;t understand why Node 2 can send discovery and connect message to NCP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It all used otUdpSend function&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance for the Node to connect to the gateway MQTT-SN ?</title><link>https://devzone.nordicsemi.com/thread/204052?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 11:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09abd7e0-2ac9-4d2d-90bb-97957f0259b0</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user=""]But when I send search gateway msg, connect msg from publish (subscribe) Node to NCP. Seem it can&amp;#39;t send as mesh network. I have to put Node&amp;nbsp;&lt;span lang="en"&gt;in the coverage area of ​​NCP then it can discovery and connect to Gateway. If I put NCP --&amp;gt; Node 1 --&amp;gt; Node 2&amp;nbsp;&lt;span&gt;in a straight line. Node 1 can connect to mqtt gateway, but node 2 can&amp;#39;t . But I can ping from Node 2 to Node 1 and NCP.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;Do you mean that if you create this network:&lt;/p&gt;
&lt;p&gt;NCP - Node1 - Node2&lt;/p&gt;
&lt;p&gt;Then:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Node 1 can connect to the MQTT-SN Gateway&lt;/li&gt;
&lt;li&gt;Node 2 cannot connect to the MQTT-SN Gateway&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please clarify this.&lt;/p&gt;
[quote user=""]&lt;span lang="en"&gt;&lt;span&gt;If I connect Node1 and Node 2 to MQTT gateway and&amp;nbsp;put NCP --&amp;gt; Node 1 --&amp;gt; Node 2&amp;nbsp;in a straight line. I can send data from Node 1 and Node 2 to NCP as mesh network.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t really understand this, can you please try to explain some more?&lt;/p&gt;
&lt;p&gt;It would be really helpful if you can provide traffic data using the nRF Sniffer for both situations.&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v3.1.0%2Fnrf802154_sniffer.html&amp;amp;cp=5_3_4_3_0"&gt; See here how to use it&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>