TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
978 stars 308 forks source link

Confirmed uplink retry limitation #3972

Open i3mSuperMan opened 3 years ago

i3mSuperMan commented 3 years ago

Summary

Number of retries allowed for confirmed uplinks currently on NS end:

Also, Network Server has a max retransmission delay - the latest retransmission may arrive no later than RX_DELAY + 11 seconds after the first uplink. Ref: https://github.com/TheThingsIndustries/lorawan-stack-support/issues/354

Considering the RxWindow durations and duty cycle limitations of a given region, the limitation on the retransmission window would result in allowing only a couple of retries, and the rest of the retries get dropped.

Steps to Reproduce

...

What do you see now?

The network server drops the retries from the device received after the retransmission window with the device not found error.

What do you want to see instead?

The retransmission window size needs to account for the RxDelay durations and the duty cycle limitations of the region.

Environment

TTS v3.11.3 CH

How do you propose to implement this?

Increase the retransmission window size for now and long-term make it dependent on duty cycle limitations.

How do you propose to test this?

...

Can you do this yourself and submit a Pull Request?

No

NicolasMrad commented 2 years ago

is this still relevant?

adriansmares commented 2 years ago

The issue exists but I would drop the priority for now. Removing the milestone.