<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OTAA LoPy Nanogateway to TTN - Unable to Join]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there a working example for interaction with the Things Network using AS923?</p>
<p dir="auto">I have 2 LoPys with each acting as an OTAA node and a nano gateway node respectively.<br />
I modified the following files as follows,</p>
<p dir="auto">config_py:</p>
<p dir="auto">SERVER = 'router.as.thethings.network'<br />
LORA_FREQUENCY = 923200000<br />
LORA_DR = &quot;SF10BW125&quot;</p>
<p dir="auto">nanogateway_py:</p>
<p dir="auto">RX_PK = {&quot;rxpk&quot;: [{&quot;time&quot;: &quot;&quot;, &quot;tmst&quot;: 0,<br />
&quot;chan&quot;: 2, &quot;rfch&quot;: 0,<br />
&quot;freq&quot;: 923.2, &quot;stat&quot;: 1,<br />
&quot;modu&quot;: &quot;LORA&quot;, &quot;datr&quot;: &quot;SF10BW125&quot;,<br />
&quot;codr&quot;: &quot;4/5&quot;, &quot;rssi&quot;: 0,<br />
&quot;lsnr&quot;: 0, &quot;size&quot;: 0,<br />
&quot;data&quot;: &quot;&quot;}]}</p>
<p dir="auto">OTAA/main.py:</p>
<p dir="auto">for channel in range(0, 72):<br />
lora.remove_channel(channel)</p>
<p dir="auto">for i in range(0, 16):<br />
lora.add_channel(i, frequency=923200000, dr_min=0, dr_max=4) #not sure why cannot set DR5</p>
<p dir="auto">The JOIN_REQUEST &amp; JOIN_ACCEPT messages have been successfully generated. However, my OTAA node is unable to join the network.</p>
<p dir="auto"><img src="/assets/uploads/files/1495957216167-upload-8bac8a53-2805-4984-bcb8-fc7477c08da8-resized.png" alt="0_1495957213042_upload-8bac8a53-2805-4984-bcb8-fc7477c08da8" class="img-responsive img-markdown" /></p>
<p dir="auto">Please advise, thank you.</p>
]]></description><link>https://forum.pycom.io/topic/1274/otaa-lopy-nanogateway-to-ttn-unable-to-join</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 19:41:59 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1274.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 May 2017 07:43:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OTAA LoPy Nanogateway to TTN - Unable to Join on Sun, 28 May 2017 07:43:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there a working example for interaction with the Things Network using AS923?</p>
<p dir="auto">I have 2 LoPys with each acting as an OTAA node and a nano gateway node respectively.<br />
I modified the following files as follows,</p>
<p dir="auto">config_py:</p>
<p dir="auto">SERVER = 'router.as.thethings.network'<br />
LORA_FREQUENCY = 923200000<br />
LORA_DR = &quot;SF10BW125&quot;</p>
<p dir="auto">nanogateway_py:</p>
<p dir="auto">RX_PK = {&quot;rxpk&quot;: [{&quot;time&quot;: &quot;&quot;, &quot;tmst&quot;: 0,<br />
&quot;chan&quot;: 2, &quot;rfch&quot;: 0,<br />
&quot;freq&quot;: 923.2, &quot;stat&quot;: 1,<br />
&quot;modu&quot;: &quot;LORA&quot;, &quot;datr&quot;: &quot;SF10BW125&quot;,<br />
&quot;codr&quot;: &quot;4/5&quot;, &quot;rssi&quot;: 0,<br />
&quot;lsnr&quot;: 0, &quot;size&quot;: 0,<br />
&quot;data&quot;: &quot;&quot;}]}</p>
<p dir="auto">OTAA/main.py:</p>
<p dir="auto">for channel in range(0, 72):<br />
lora.remove_channel(channel)</p>
<p dir="auto">for i in range(0, 16):<br />
lora.add_channel(i, frequency=923200000, dr_min=0, dr_max=4) #not sure why cannot set DR5</p>
<p dir="auto">The JOIN_REQUEST &amp; JOIN_ACCEPT messages have been successfully generated. However, my OTAA node is unable to join the network.</p>
<p dir="auto"><img src="/assets/uploads/files/1495957216167-upload-8bac8a53-2805-4984-bcb8-fc7477c08da8-resized.png" alt="0_1495957213042_upload-8bac8a53-2805-4984-bcb8-fc7477c08da8" class="img-responsive img-markdown" /></p>
<p dir="auto">Please advise, thank you.</p>
]]></description><link>https://forum.pycom.io/post/7804</link><guid isPermaLink="true">https://forum.pycom.io/post/7804</guid><dc:creator><![CDATA[sh4nnongoh]]></dc:creator><pubDate>Sun, 28 May 2017 07:43:10 GMT</pubDate></item></channel></rss>