User Tools

Site Tools


wiki:wiki3:network_delays

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:wiki3:network_delays [2020/03/19 18:57]
dlr
wiki:wiki3:network_delays [2023/05/10 15:05] (current)
mse
Line 35: Line 35:
 The LNS will then choose the best RX window to send the TX message to the end-device. To do so, it will add the //Network max delay down// to the current time, and see if this fits, with an additional 50ms margin. If this allows to reach the RX1 window delay (usually one second), then it will send it soon. If this doesn'​t allow to reach the RX1 window, it will target the RX2 window (usually two seconds). The LNS will then choose the best RX window to send the TX message to the end-device. To do so, it will add the //Network max delay down// to the current time, and see if this fits, with an additional 50ms margin. If this allows to reach the RX1 window delay (usually one second), then it will send it soon. If this doesn'​t allow to reach the RX1 window, it will target the RX2 window (usually two seconds).
  
-++++ RX window decision method |+ 
 +++++  
 +RX window decision method |
  
 <​code>​ <​code>​
Line 58: Line 60:
    * ''​Twin'':​ the time for the target RX window (1000ms by default for RX1).    * ''​Twin'':​ the time for the target RX window (1000ms by default for RX1).
 ++++  ++++ 
-++++ Example |+ 
 +++++  
 +Example |
  
 Inputs: Inputs:
Line 84: Line 88:
    * The LoRa frame is sent at ''​10:​00:​02.000''​ when the RX2 window opens. Actual timing is done with ''​tmst''​ (SX1301 clock counter).    * The LoRa frame is sent at ''​10:​00:​02.000''​ when the RX2 window opens. Actual timing is done with ''​tmst''​ (SX1301 clock counter).
 ++++ ++++
-++++ Notes |+ 
 +++++  
 +Notes |
  
    * Due to the packet forwarder processing time, a delay of 30ms to 50ms occurs between the IP packet reception and the TX LoRa frame going out of the radio.    * Due to the packet forwarder processing time, a delay of 30ms to 50ms occurs between the IP packet reception and the TX LoRa frame going out of the radio.
Line 90: Line 96:
    * The LNS will keep the TX messages for as long as possible, and send them at the last moment. This is by design, to allow less load on the packet forwarders. Indeed, if the TX messages were sent as soon as possible, the gateways might get a lot of TX messages queued, which would be problematic on embedded devices.    * The LNS will keep the TX messages for as long as possible, and send them at the last moment. This is by design, to allow less load on the packet forwarders. Indeed, if the TX messages were sent as soon as possible, the gateways might get a lot of TX messages queued, which would be problematic on embedded devices.
 ++++ ++++
 +
 +
  
 ===== Actual behaviors ===== ===== Actual behaviors =====
wiki/wiki3/network_delays.1584640649.txt.gz · Last modified: 2020/03/19 18:57 by dlr