Repeat batch ACKs to cover RX latency

- Add ACK_REPEAT_COUNT/ACK_REPEAT_DELAY_MS and repeat ACK sends
- Update README with repeat-ACK behavior
This commit is contained in:
2026-02-04 00:53:06 +01:00
parent 5a86d1bd30
commit 0e7214d606
3 changed files with 14 additions and 4 deletions

View File

@@ -239,6 +239,7 @@ Notes:
- Total power is computed on receiver as `p1 + p2 + p3`.
- 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.
## Device IDs
- Derived from WiFi STA MAC.