This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:wiki3:network_delays [2023/02/06 11:19] ehe [Behavior] |
wiki:wiki3:network_delays [2023/05/10 15:02] mse |
||
---|---|---|---|
Line 39: | Line 39: | ||
RX window decision method | | RX window decision method | | ||
+ | <code> | ||
T0lns = now - Ndu | T0lns = now - Ndu | ||
Test = now + Tagg + Topp + Ndd | Test = now + Tagg + Topp + Ndd | ||
Decision = Test - T0lns = Ndu + Tagg + Topp + Ndd < 1000 ? | Decision = Test - T0lns = Ndu + Tagg + Topp + Ndd < 1000 ? | ||
Ttx = now + Twin - Ndd | Ttx = now + Twin - Ndd | ||
+ | </code> | ||
- | + | with: | |
- | with: | + | |
* ''T0'': packet transmission date by gateway. | * ''T0'': packet transmission date by gateway. | ||
Line 63: | Line 64: | ||
Example | | Example | | ||
- | Inputs: | + | Inputs: |
* Delay up: ''350ms'' (configured). | * Delay up: ''350ms'' (configured). | ||
Line 72: | Line 73: | ||
* Packet received at ''10:00:00.196'' by LNS (''now''). | * Packet received at ''10:00:00.196'' by LNS (''now''). | ||
- | Computation: | + | Computation: |
* ''T0lns'' assumed is ''09:59:59.846'' by LNS (''now'' minus 350ms ''Ndu''). | * ''T0lns'' assumed is ''09:59:59.846'' by LNS (''now'' minus 350ms ''Ndu''). | ||
Line 81: | Line 82: | ||
* ''Ttx'' is ''T0lns'' + 2000 - 350 = ''10:00:01.496'' (time at which the LNS sends the TX message) | * ''Ttx'' is ''T0lns'' + 2000 - 350 = ''10:00:01.496'' (time at which the LNS sends the TX message) | ||
- | Behavior: | + | Behavior: |
* The LNS sends the packet at ''10:00:01.496'' (''Ttx''). | * The LNS sends the packet at ''10:00:01.496'' (''Ttx''). |