<?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[About LoRa]]></title><description><![CDATA[<p dir="auto">Good morning, we are having some problems with the reception and issuance of messages through LoRa between Lopy and the following questions arise:</p>
<ul>
<li>
<p dir="auto">Is it possible to control or know the number of lost packets?</p>
</li>
<li>
<p dir="auto">Is it possible to know the percentage of errors in the broadcast / reception?</p>
</li>
<li>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</li>
</ul>
<p dir="auto">thanks!</p>
]]></description><link>https://forum.pycom.io/topic/3362/about-lora</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 20:49:30 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3362.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jun 2018 11:49:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About LoRa on Tue, 12 Jun 2018 11:49:13 GMT]]></title><description><![CDATA[<p dir="auto">Good morning, we are having some problems with the reception and issuance of messages through LoRa between Lopy and the following questions arise:</p>
<ul>
<li>
<p dir="auto">Is it possible to control or know the number of lost packets?</p>
</li>
<li>
<p dir="auto">Is it possible to know the percentage of errors in the broadcast / reception?</p>
</li>
<li>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</li>
</ul>
<p dir="auto">thanks!</p>
]]></description><link>https://forum.pycom.io/post/20246</link><guid isPermaLink="true">https://forum.pycom.io/post/20246</guid><dc:creator><![CDATA[zceld]]></dc:creator><pubDate>Tue, 12 Jun 2018 11:49:13 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Tue, 12 Jun 2018 15:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> You'll have to specify if you're using raw LoRa or LoRaWAN, and show us the code you're using...</p>
]]></description><link>https://forum.pycom.io/post/20251</link><guid isPermaLink="true">https://forum.pycom.io/post/20251</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Tue, 12 Jun 2018 15:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Wed, 13 Jun 2018 06:47:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1538">@jcaron</a> said in <a href="/post/20251">About LoRa</a>:</p>
<blockquote>
<p dir="auto">LoRa</p>
</blockquote>
<p dir="auto">LoRa raw</p>
]]></description><link>https://forum.pycom.io/post/20263</link><guid isPermaLink="true">https://forum.pycom.io/post/20263</guid><dc:creator><![CDATA[zceld]]></dc:creator><pubDate>Wed, 13 Jun 2018 06:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Wed, 13 Jun 2018 07:44:58 GMT]]></title><description><![CDATA[<p dir="auto">Currently none of the things you mentioned are implemented in LoRa-Raw and they probably never will be.<br />
The whole idea behind LoRa Raw is that you have full control over what is sent and and how received messages are processed.<br />
To achieve what you are asking you will have to implement message acknowledgements. Is the case of broadcasts this is not trivial. But otherwise the sending device has no means of knowing whether the transmission was successful.</p>
]]></description><link>https://forum.pycom.io/post/20266</link><guid isPermaLink="true">https://forum.pycom.io/post/20266</guid><dc:creator><![CDATA[Sympatron]]></dc:creator><pubDate>Wed, 13 Jun 2018 07:44:58 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Wed, 13 Jun 2018 09:45:39 GMT]]></title><description><![CDATA[<p dir="auto">In the case of raw LoRa, you just send a frame, and hope it gets to the destination.</p>
<p dir="auto">If you want to know about lost frames, you need to add a frame counter in your frames, increment it every time you send a frame, and check on the receiving side if there are missing frames (you'll only know when you actually receive a frame).</p>
<p dir="auto">LoRa does not include any form of collision detection, so only the receiver knows if a frame was actually received (or not if using a frame counter as above).</p>
<p dir="auto">If you want to have confirmed frames, you need the receiver to send acknowledgements when it receives a frame, have the sender wait for that ack, and resend if the ack is not received. You would need to include a frame counter as well (not incremented on retries), so that if it was the ack that got lost and not the original frame, it won't be received twice.</p>
<p dir="auto">Note in some regions and bands there are limits on how often you can send data, so confirmed frames are not always possible in a scenario with multiple nodes talking to a single one.</p>
<p dir="auto">The alternative is to use LoRaWAN which includes all of that and more.</p>
]]></description><link>https://forum.pycom.io/post/20270</link><guid isPermaLink="true">https://forum.pycom.io/post/20270</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Wed, 13 Jun 2018 09:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Thu, 14 Jun 2018 16:05:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> said in <a href="/post/20246">About LoRa</a>:</p>
<blockquote>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</blockquote>
<p dir="auto">Do any LoRaWan gateways have self-resending feature ? E. g., while WiFi is down, the gateway store the packets received by the LoRaWan nodes and send them when WiFi connection is restored ? Or this feature is not compliant with LoRaWan ?</p>
]]></description><link>https://forum.pycom.io/post/20297</link><guid isPermaLink="true">https://forum.pycom.io/post/20297</guid><dc:creator><![CDATA[rcolistete]]></dc:creator><pubDate>Thu, 14 Jun 2018 16:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Thu, 14 Jun 2018 17:27:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/234">@rcolistete</a> said in <a href="/post/20297">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> said in <a href="/post/20246">About LoRa</a>:</p>
<blockquote>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</blockquote>
<p dir="auto">Do any LoRaWan gateways have self-resending feature ? E. g., while WiFi is down, the gateway store the packets received by the LoRaWan nodes and send them when WiFi connection is restored ? Or this feature is not compliant with LoRaWan ?</p>
</blockquote>
<p dir="auto">Gateways running the LORIOT packet forwarder has this feature, they are caching received packets and send when WAN connection restored.</p>
]]></description><link>https://forum.pycom.io/post/20298</link><guid isPermaLink="true">https://forum.pycom.io/post/20298</guid><dc:creator><![CDATA[bmarkus]]></dc:creator><pubDate>Thu, 14 Jun 2018 17:27:26 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Sat, 16 Jun 2018 02:34:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/110">@bmarkus</a> said in <a href="/post/20298">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/234">@rcolistete</a> said in <a href="/post/20297">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> said in <a href="/post/20246">About LoRa</a>:</p>
<blockquote>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</blockquote>
<p dir="auto">Do any LoRaWan gateways have self-resending feature ? E. g., while WiFi is down, the gateway store the packets received by the LoRaWan nodes and send them when WiFi connection is restored ? Or this feature is not compliant with LoRaWan ?</p>
</blockquote>
<p dir="auto">Gateways running the LORIOT packet forwarder has this feature, they are caching received packets and send when WAN connection restored.</p>
</blockquote>
<p dir="auto">The LoRaWan receive the packets with the date when the node sends or when the gateway forward the packets ?</p>
<p dir="auto">So in theory the Pycom LoRaWan nano-gateway (for LoPy/LoPy4/FiPy) could have this feature implemented ?</p>
]]></description><link>https://forum.pycom.io/post/20318</link><guid isPermaLink="true">https://forum.pycom.io/post/20318</guid><dc:creator><![CDATA[rcolistete]]></dc:creator><pubDate>Sat, 16 Jun 2018 02:34:37 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Sat, 16 Jun 2018 06:28:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/234">@rcolistete</a> said in <a href="/post/20318">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/110">@bmarkus</a> said in <a href="/post/20298">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/234">@rcolistete</a> said in <a href="/post/20297">About LoRa</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> said in <a href="/post/20246">About LoRa</a>:</p>
<blockquote>
<p dir="auto">Is it known if there is a small queue buffer or if there is a self-resending system in case of packet failure or collision?</p>
</blockquote>
<p dir="auto">Do any LoRaWan gateways have self-resending feature ? E. g., while WiFi is down, the gateway store the packets received by the LoRaWan nodes and send them when WiFi connection is restored ? Or this feature is not compliant with LoRaWan ?</p>
</blockquote>
<p dir="auto">Gateways running the LORIOT packet forwarder has this feature, they are caching received packets and send when WAN connection restored.</p>
</blockquote>
<p dir="auto">The LoRaWan receive the packets with the date when the node sends or when the gateway forward the packets ?</p>
<p dir="auto">So in theory the Pycom LoRaWan nano-gateway (for LoPy/LoPy4/FiPy) could have this feature implemented ?</p>
</blockquote>
<p dir="auto">Can’t implement for UDP protocol used by Nano GW.</p>
]]></description><link>https://forum.pycom.io/post/20320</link><guid isPermaLink="true">https://forum.pycom.io/post/20320</guid><dc:creator><![CDATA[bmarkus]]></dc:creator><pubDate>Sat, 16 Jun 2018 06:28:24 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Sat, 16 Jun 2018 11:25:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/234">@rcolistete</a> said in <a href="/post/20318">About LoRa</a>:</p>
<blockquote>
<p dir="auto">The LoRaWan receive the packets with the date when the node sends or when the gateway forward the packets ?</p>
</blockquote>
<p dir="auto">No timestamp is sent in LoRaWAN frames, and often nodes do not know the time (or not precisely). Timestamp information is added by the gateway when it receives the frame.</p>
<p dir="auto">But I’m not quite sure how the timestamp would be relevant for retransmits? The only relevant data is a frame counter and ACKs.</p>
]]></description><link>https://forum.pycom.io/post/20323</link><guid isPermaLink="true">https://forum.pycom.io/post/20323</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Sat, 16 Jun 2018 11:25:41 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Mon, 18 Jun 2018 06:12:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1538">@jcaron</a><br />
Thank you very much for the information. On the other hand I have another question about 'Lora-Raw' and it is yes although in the programming for example you will only send a message like the example that I attached:</p>
<pre><code>from network import LoRa
import socket

lora = LoRa(mode=LoRa.LORA)
s = socket.socket(socket.AF_LORA, socket.SOCK_RAW)
s.setblocking(False)
x = &quot;witeklab-&quot;+&quot;1&quot;+&quot;-&quot;+&quot;390-&quot;+str(coord[0]) + &quot;-&quot;+str(coord[1])
s.send(x)
</code></pre>
<p dir="auto">Is it safe that internally the chip only sends it once or in turn does some retries in case there are collisions with other emissions from other different devices through LoRa?</p>
]]></description><link>https://forum.pycom.io/post/20334</link><guid isPermaLink="true">https://forum.pycom.io/post/20334</guid><dc:creator><![CDATA[zceld]]></dc:creator><pubDate>Mon, 18 Jun 2018 06:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Mon, 18 Jun 2018 07:08:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2221">@zceld</a> As stated earlier, in raw LoRa mode, you send a frame, and you just hope it gets to destination. There are no ACKs, no retries, no collision detection, nothing at all. If there's a collision, too much noise, or you are out of range, the frame is lost, and that's it.</p>
<p dir="auto">So if you want to be sure the frame gets to its destination, you'll have to add frame counters, ACKs and retries yourself.</p>
<p dir="auto">Or use LoRaWAN and confirmed packets. But remember that in some regions confirmed packets (or manual ACKs) may be a problem given the duty cycle limitations on all nodes, including the gateway.</p>
]]></description><link>https://forum.pycom.io/post/20335</link><guid isPermaLink="true">https://forum.pycom.io/post/20335</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Mon, 18 Jun 2018 07:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Mon, 18 Jun 2018 08:23:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1538">@jcaron</a> Thank you very much !</p>
]]></description><link>https://forum.pycom.io/post/20338</link><guid isPermaLink="true">https://forum.pycom.io/post/20338</guid><dc:creator><![CDATA[zceld]]></dc:creator><pubDate>Mon, 18 Jun 2018 08:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to About LoRa on Sun, 30 Sep 2018 14:31:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/110">@bmarkus</a> said in <a href="/post/20320">About LoRa</a>:</p>
<blockquote>
<p dir="auto">Can’t implement for UDP protocol used by Nano GW.</p>
</blockquote>
<p dir="auto">Why not using UDP ? A modified version of Pycom LoRaWan nano-gateway software able to resend cached packets to TTN (for example) after WiFi was down.</p>
]]></description><link>https://forum.pycom.io/post/22546</link><guid isPermaLink="true">https://forum.pycom.io/post/22546</guid><dc:creator><![CDATA[rcolistete]]></dc:creator><pubDate>Sun, 30 Sep 2018 14:31:00 GMT</pubDate></item></channel></rss>