Scale ACK RX window to LoRa airtime

- Compute ACK receive window from airtime with bounds and margin
- Retry once if initial window misses
- Document ACK window sizing
This commit is contained in:
2026-02-04 01:21:42 +01:00
parent 1024aa3dd0
commit 7e5e23e56c
2 changed files with 18 additions and 1 deletions

View File

@@ -244,6 +244,7 @@ Notes:
- Sender error counters are carried in the batch header and applied to all samples.
- Receiver ACKs MeterBatch as soon as the batch is reassembled, before MQTT/web/UI work, to avoid missing the sender ACK window.
- Receiver repeats ACKs (`ACK_REPEAT_COUNT`) spaced by `ACK_REPEAT_DELAY_MS` to cover sender RX latency.
- Sender ACK RX window is derived from LoRa airtime (bounded min/max) and retried once if the first window misses.
## Device IDs
- Derived from WiFi STA MAC.